| Package | Description |
|---|---|
| javafx.scene.paint |
Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
|
| javafx.scene.shape |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PhongMaterial
The
PhongMaterial class provides definitions of properties that
represent a Phong shaded material. |
| Modifier and Type | Field and Description |
|---|---|
private ObjectProperty<Material> |
Shape3D.material
Defines the material this
Shape3D. |
| Modifier and Type | Method and Description |
|---|---|
Material |
Shape3D.getMaterial() |
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty<Material> |
Shape3D.materialProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
Shape3D.setMaterial(Material value) |