com.steema.teechart
Class PointDouble

java.lang.Object
  extended by com.steema.teechart.PointDouble
Direct Known Subclasses:
LevelPoint

public class PointDouble
extends java.lang.Object

Author:
Administrator

Field Summary
 double x
           
 double y
           
 
Constructor Summary
PointDouble()
          Constructs and initializes a point at the origin (0, 0) of the coordinate space.
PointDouble(double x, double y)
           
 
Method Summary
 double getX()
          The X location in pixels.
 double getY()
          The Y location in pixels.
static Point round(PointDouble value)
           
static Point[] round(PointDouble[] value)
           
static Point[] round(PointDouble[] value, int size)
           
 void setX(double value)
          Sets the X location in pixels.
 void setY(double value)
          Sets the Y location in pixels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

PointDouble

public PointDouble()
Constructs and initializes a point at the origin (0, 0) of the coordinate space.

Since:
1.1

PointDouble

public PointDouble(double x,
                   double y)
Method Detail

getX

public double getX()
The X location in pixels.

Returns:
double

setX

public void setX(double value)
Sets the X location in pixels.

Parameters:
value - double

getY

public double getY()
The Y location in pixels.

Returns:
double

setY

public void setY(double value)
Sets the Y location in pixels.

Parameters:
value - double

round

public static Point round(PointDouble value)

round

public static Point[] round(PointDouble[] value)

round

public static Point[] round(PointDouble[] value,
                            int size)