public class DwfWhipTransform extends Object
Represents transform of scene
Constructor and Description |
---|
DwfWhipTransform()
Initializes a new instance of the
DwfWhipTransform class |
DwfWhipTransform(DwfWhipLogicalPoint translate,
double xScale,
double yScale,
long rotation)
Initializes a new instance of the
DwfWhipTransform class |
Modifier and Type | Method and Description |
---|---|
long |
getRotation()
Gets or sets rotation angle
|
DwfWhipLogicalPoint |
getTranslate()
Gets or sets translate
|
double |
getXScale()
Gets or sets scale by x axis
|
double |
getYScale()
Gets or sets scale by y axis
|
void |
setRotation(long rotation)
Sets rotation angle
|
void |
setTranslate(DwfWhipLogicalPoint value)
Gets or sets translate
|
void |
setXScale(double value)
Gets or sets scale by x axis
|
void |
setYScale(double value)
Gets or sets scale by y axis
|
public DwfWhipTransform()
Initializes a new instance of the DwfWhipTransform
class
public DwfWhipTransform(DwfWhipLogicalPoint translate, double xScale, double yScale, long rotation)
Initializes a new instance of the DwfWhipTransform
class
translate
- translate pointxScale
- x axis scaleyScale
- y axis scalerotation
- rotation anglepublic DwfWhipLogicalPoint getTranslate()
Gets or sets translate
public void setTranslate(DwfWhipLogicalPoint value)
Gets or sets translate
public double getXScale()
Gets or sets scale by x axis
public void setXScale(double value)
Gets or sets scale by x axis
public double getYScale()
Gets or sets scale by y axis
public void setYScale(double value)
Gets or sets scale by y axis
public long getRotation()
Gets or sets rotation angle
public void setRotation(long rotation)
Sets rotation angle
rotation
- rotation angle