| 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. 
 | 
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.