
上QQ阅读APP看书,第一时间看更新
Controlling Shape's color
Shape can have two colors: one for the interior (setFill method) and one for the border (setStroke). Color in JavaFX is handled by the Paint API, which is worth a deeper look:
Shape can have two colors: one for the interior (setFill method) and one for the border (setStroke). Color in JavaFX is handled by the Paint API, which is worth a deeper look: