ewe.fx.print
Class PointRect
java.lang.Object
ewe.fx.print.PointRect
- public class PointRect
- extends Object
|
Method Summary |
Rect |
scaleToRect(Rect destination,
double pointsToPixelsX,
double pointsToPixelsY)
|
PointRect |
set(double x,
double y)
Sets the x and y of this PointRect, the others are set to zero and returns itself. |
PointRect |
set(double x,
double y,
double width,
double height)
Sets the dimensions of this PointRect and returns itself. |
x
public double x
y
public double y
width
public double width
height
public double height
PointRect
public PointRect()
PointRect
public PointRect(double x,
double y)
PointRect
public PointRect(double x,
double y,
double width,
double height)
scaleToRect
public Rect scaleToRect(Rect destination,
double pointsToPixelsX,
double pointsToPixelsY)
set
public PointRect set(double x,
double y,
double width,
double height)
- Sets the dimensions of this PointRect and returns itself.
set
public PointRect set(double x,
double y)
- Sets the x and y of this PointRect, the others are set to zero and returns itself.