Spec-Zone .ru
спецификации, руководства, описания, API
|
public class SnapshotParameters
extends java.lang.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)
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 setCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to