public class SnapshotParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Camera |
camera |
(package private) Camera |
defaultCamera |
private boolean |
depthBuffer |
private Paint |
fill |
private Transform |
transform |
private Rectangle2D |
viewport |
Constructor and Description |
---|
SnapshotParameters()
Constructs a new SnapshotParameters object with default values for
all rendering attributes.
|
Modifier and Type | Method and Description |
---|---|
(package private) SnapshotParameters |
copy()
Returns a deep clone of this SnapshotParameters
|
Camera |
getCamera()
Gets the current camera.
|
(package private) Camera |
getEffectiveCamera() |
Paint |
getFill()
Gets the current fill.
|
Transform |
getTransform()
Gets the current transform.
|
Rectangle2D |
getViewport()
Gets the current viewport
|
boolean |
isDepthBuffer()
Gets the current depthBuffer flag.
|
(package private) boolean |
isDepthBufferInternal() |
void |
setCamera(Camera camera)
Sets the camera to the specified value.
|
void |
setDepthBuffer(boolean depthBuffer)
Sets the depthBuffer flag to the specified value.
|
void |
setFill(Paint fill)
Sets the fill to the specified value.
|
void |
setTransform(Transform transform)
Sets the transform to the specified value.
|
void |
setViewport(Rectangle2D viewport)
Sets the viewport used for rendering.
|
private boolean depthBuffer
private Camera camera
private Transform transform
private Paint fill
private Rectangle2D viewport
Camera defaultCamera
public SnapshotParameters()
public boolean isDepthBuffer()
boolean isDepthBufferInternal()
public void setDepthBuffer(boolean depthBuffer)
ConditionalFeature.SCENE3D
depthBuffer
- the depthBuffer to setpublic Camera getCamera()
Camera getEffectiveCamera()
public void setCamera(Camera camera)
camera
- the camera to setpublic Transform getTransform()
public void setTransform(Transform transform)
transform
- the transform to setpublic Paint getFill()
public void setFill(Paint fill)
fill
- the fill to setpublic Rectangle2D getViewport()
public void setViewport(Rectangle2D viewport)
viewport
- the viewport to setSnapshotParameters copy()