Interface | Description |
---|---|
IDimension |
Provides read-only access to a
Dimension . |
IPoint |
Provides read-only access to a
Point . |
IRectangle |
Provides read-only access to a
Rectangle . |
IShape |
An interface provided by all shapes.
|
Class | Description |
---|---|
AbstractDimension |
Provides most of the implementation of
IDimension , obtaining only width and height from
the derived class. |
AbstractPoint |
Provides most of the implementation of
IPoint , obtaining only the location from the
derived class. |
AbstractRectangle |
Provides most of the implementation of
IRectangle , obtaining only the location and
dimensions from the derived class. |
Dimension |
Represents a magnitude in two dimensions.
|
Dimensions |
Dimension-related utility methods.
|
MathUtil |
Math utility methods.
|
Point |
Represents a point on a plane.
|
Points |
Point-related utility methods.
|
Rectangle |
Represents an area in two dimensions.
|
Rectangles |
Rectangle-related utility methods.
|
int
. Note that many of the
classes offered by the float- and double-specialized classes do not exist here. The
int-specialized code supports only points, dimensions and rectangles. If you intend to use
non-rectangular geometric shapes, you almost certainly want to be using floating-point math.Copyright © 2017. All rights reserved.