TinyLine
v2.0

com.tinyline.tiny2d
Class TinyPoint

java.lang.Object
  extended bycom.tinyline.tiny2d.TinyPoint

public final class TinyPoint
extends java.lang.Object

The TinyPoint class specifies a point representing a location in (x, y) coordinate space specified in fixed point precision.

Version:
1.7

Author:
Andrew Girow

Field Summary
 int x
          The X coordinate of this TinyPoint.
 int y
          The Y coordinate of this TinyPoint.
 
Constructor Summary
TinyPoint()
          Constructs and initializes a TinyPoint with coordinates (0, 0).
TinyPoint(int x, int y)
          Constructs and initializes a TinyPoint with the specified coordinates.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
The X coordinate of this TinyPoint.


y

public int y
The Y coordinate of this TinyPoint.

Constructor Detail

TinyPoint

public TinyPoint()
Constructs and initializes a TinyPoint with coordinates (0, 0).


TinyPoint

public TinyPoint(int x,
                 int y)
Constructs and initializes a TinyPoint with the specified coordinates.


TinyLine
v2.0

Provided under the terms of the TinyLine License Agreement that has been included with this distribution