public class SnapshotParameters extends Object
Constructor and Description |
---|
SnapshotParameters()
Constructs a new SnapshotParameters object with default values for
all rendering attributes.
|
Modifier and Type | Method and Description |
---|---|
Camera |
getCamera()
Gets the current camera.
|
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.
|
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.
|
public SnapshotParameters()
public boolean isDepthBuffer()
public void setDepthBuffer(boolean depthBuffer)
ConditionalFeature.SCENE3D
depthBuffer
- the depthBuffer to setpublic Camera getCamera()
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 setSubmit 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.