public class SnapshotParameters extends Object
コンストラクタと説明 |
---|
SnapshotParameters()
すべてのレンダリング属性についてデフォルト値を使用して、新しいSnapshotParametersオブジェクトを構築します。
|
修飾子と型 | メソッドと説明 |
---|---|
Camera |
getCamera()
現在のカメラを取得します。
|
Paint |
getFill()
現在の塗りつぶしを取得します。
|
Transform |
getTransform()
現在の変換を取得します。
|
Rectangle2D |
getViewport()
現在のビューポートを取得します。
|
boolean |
isDepthBuffer()
現在のdepthBufferフラグを取得します。
|
void |
setCamera(Camera camera)
指定された値にカメラを設定します。
|
void |
setDepthBuffer(boolean depthBuffer)
depthBufferフラグを指定された値に設定します。
|
void |
setFill(Paint fill)
塗りつぶしを指定された値に設定します。
|
void |
setTransform(Transform transform)
変換を指定された値に設定します。
|
void |
setViewport(Rectangle2D viewport)
レンダリングに使用されるビューポートを設定します。
|
public SnapshotParameters()
public boolean isDepthBuffer()
public void setDepthBuffer(boolean depthBuffer)
ConditionalFeature.SCENE3D
を参照してください。depthBuffer
- 設定するdepthBufferpublic Camera getCamera()
public void setCamera(Camera camera)
camera
- 設定するカメラpublic Transform getTransform()
public void setTransform(Transform transform)
transform
- 設定する変換public Paint getFill()
public void setFill(Paint fill)
fill
- 設定する塗りつぶしpublic Rectangle2D getViewport()
public void setViewport(Rectangle2D viewport)
viewport
- 設定するビューポートCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.