| Modifier and Type | Field and Description |
|---|---|
| private Camera | |
| pack-priv Camera | |
| private boolean | |
| private Paint | |
| private Transform | |
| private Rectangle2D |
| Access | Constructor and Description |
|---|---|
| public | SnapshotParameters()
Constructs a new SnapshotParameters object with default values for all rendering attributes. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv SnapshotParameters | |
| public Camera | |
| pack-priv Camera | |
| public Paint | |
| public Transform | |
| public Rectangle2D | |
| public boolean | |
| pack-priv boolean | |
| public void | |
| public void | setDepthBuffer(boolean
the depthBuffer to set depthBuffer)Sets the depthBuffer flag to the specified value. |
| public void | |
| public void | |
| public void |
| camera | back to summary |
|---|---|
| private Camera camera | |
| defaultCamera | back to summary |
|---|---|
| pack-priv Camera defaultCamera | |
| depthBuffer | back to summary |
|---|---|
| private boolean depthBuffer | |
| fill | back to summary |
|---|---|
| private Paint fill | |
| transform | back to summary |
|---|---|
| private Transform transform | |
| viewport | back to summary |
|---|---|
| private Rectangle2D viewport | |
| SnapshotParameters | back to summary |
|---|---|
| public SnapshotParameters() Constructs a new SnapshotParameters object with default values for all rendering attributes. | |
| copy | back to summary |
|---|---|
| pack-priv SnapshotParameters copy() Returns a deep clone of this SnapshotParameters
| |
| getCamera | back to summary |
|---|---|
| public Camera getCamera() Gets the current camera.
| |
| getEffectiveCamera | back to summary |
|---|---|
| pack-priv Camera getEffectiveCamera() | |
| getFill | back to summary |
|---|---|
| public Paint getFill() Gets the current fill.
| |
| getTransform | back to summary |
|---|---|
| public Transform getTransform() Gets the current transform.
| |
| getViewport | back to summary |
|---|---|
| public Rectangle2D getViewport() Gets the current viewport
| |
| isDepthBuffer | back to summary |
|---|---|
| public boolean isDepthBuffer() Gets the current depthBuffer flag.
| |
| isDepthBufferInternal | back to summary |
|---|---|
| pack-priv boolean isDepthBufferInternal() | |
| setCamera | back to summary |
|---|---|
| public void setCamera(Camera camera) Sets the camera to the specified value. The default value is null, which means a ParallelCamera will be used.
| |
| setDepthBuffer | back to summary |
|---|---|
| public void setDepthBuffer(boolean depthBuffer) Sets the depthBuffer flag to the specified value.
The default value is false.
Note that this is a conditional feature. See
| |
| setFill | back to summary |
|---|---|
| public void setFill(Paint fill) Sets the fill to the specified value. This is used to fill the entire image being rendered prior to rendering the node. A value of null indicates that the color white should be used for the fill. The default value is null.
| |
| setTransform | back to summary |
|---|---|
| public void setTransform(Transform transform) Sets the transform to the specified value. This transform is applied to the node being rendered before any local transforms are applied. A value of null indicates that the identity transform should be used. The default value is null.
| |
| setViewport | back to summary |
|---|---|
| public void setViewport(Rectangle2D viewport) Sets the viewport used for rendering. The viewport is specified in the parent coordinate system of the node being rendered. It is not transformed by the transform of this SnapshotParameters. If this viewport is non-null it is used instead of the bounds of the node being rendered and specifies the source rectangle that will be rendered into the image. In this case, the upper-left pixel of the viewport will map to the upper-left pixel (0,0) in the rendered image. If the viewport is null, then the entire area of the node defined by its boundsInParent, after first applying the transform of this SnapshotParameters, will be rendered. The default value is null.
| |