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 | Method and Description |
---|---|
Material |
Shape3D.getMaterial()
Gets the value of the property material.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Material> |
Shape3D.materialProperty()
Defines the material this
Shape3D . |
Modifier and Type | Method and Description |
---|---|
void |
Shape3D.setMaterial(Material value)
Sets the value of the property material.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.