public class Point
implements IConstructable, IPersistable
Represents a single (x,y) coordinate and various operations on such a coordinate.
Fields
Name | Description |
---|---|
x | The horizontal position of the coordinate. |
y | The vertical position of the coordinate. |
Constructors
Name | Description |
---|---|
Point() | Creates a new Point object at 0, 0. |
Point(int x, int y) | Creates a new Point object at the given location. |
Point(Point pt) | Creates a new Point object given an existing Point object. |
Point(POINT pt) | Creates a new Point object given a Win32 POINT structure. |
Point(SIZE size) | Creates a new Point object given a Win32 SIZE structure. |
Point(int dw) | Creates a new Point object given the coordinates in a 32-bit integer. |
Point(IDataStream stream) | Topic under construction. |
Methods
Name | Description |
---|---|
equals(Object obj) | Tests to determine if the two points represent the same logical location. |
getConstructorArgs() | Topic under construction. |
getExtension() | Topic under construction. |
hashCode() | Topic under construction. |
save(IDataStream stream) | Topic under construction. |
toPOINT() | Returns a Win32 POINT structure representing this object. |
toSIZE() | Returns a Win32 SIZE structure representing this object. |
toString() | Topic under construction. |
Creates a new Point object at 0, 0.
Creates a new Point object at the given location.
Creates a new Point object given an existing Point object.
Creates a new Point object given a Win32 POINT structure.
Creates a new Point object given a Win32 SIZE structure.
Creates a new Point object given the coordinates in a 32-bit integer. The low-order 16 bits are the horizontal [x] coordinate and the higher 16 bits are the vertical [y] coordinate.
Topic under construction.
Returns true if they are the same; otherwise, returns false.
Tests to determine if the two points represent the same logical location. Doesn't actually test for object identity equality.
Topic under construction.
Topic under construction.
Topic under construction.
Topic under construction.
Returns a Win32 POINT structure.
Returns a Win32 POINT structure representing this object.
Returns a Win32 SIZE structure.
Returns a Win32 SIZE structure representing this object.
Topic under construction.