ewe.fx.print
Class PointRect

java.lang.Object
  extended byewe.fx.print.PointRect

public class PointRect
extends Object


Field Summary
 double height
           
 double width
           
 double x
           
 double y
           
 
Constructor Summary
PointRect()
           
PointRect(double x, double y)
           
PointRect(double x, double y, double width, double height)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

x

public double x

y

public double y

width

public double width

height

public double height
Constructor Detail

PointRect

public PointRect()

PointRect

public PointRect(double x,
                 double y)

PointRect

public PointRect(double x,
                 double y,
                 double width,
                 double height)
Method Detail

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.