Package geometry provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
PathIterator
|
The
PathIterator interface provides the mechanism for objects that implement the Shape interface to return the geometry of their boundary by allowing a caller to retrieve the path of that boundary a segment at a time. |
|
IShape
|
The
Shape interface provides definitions for objects that represent some form of geometric shape. |
|
AffineTransform
|
The AffineTransform class represents a 2D affine transform that performs a linear mapping from 2D coordinates to other 2D coordinates that preserves the “straightness” and “parallelness” of lines.
|
|
Arc
|
Arc store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN, CHORD, or PIE).
|
|
Area
|
An Area object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.
|
|
CubicCurve
|
The CubicCurve class defines a cubic parametric curve segment in (x, y) coordinate space.
|
|
Dimension
|
The Dimension class encapsulates the width and height of a component (in integer precision) in a single object.
|
|
Ellipse
|
The Ellipse class describes an ellipse that is defined by a framing rectangle.
|
|
FlatteningPathIterator
|
The FlatteningPathIterator class returns a flattened view of another PathIterator object.
|
|
Path
|
The Path class represents a geometric path constructed from straight lines, and quadratic and cubic (Bezier) curves.
|
|
Line
|
This Line represents a line segment in (x, y) coordinate space.
|
|
Point
|
A point representing a location in (x, y) coordinates space, specified in integer precision.
|
|
Polygon
|
The Polygon class encapsulates a description of a closed, two-dimensional region within a coordinate space.
|
|
Polyline
|
The Polyline class encapsulates a description of a collection of line segments within a coordinate space.
|
|
QuadCurve
|
The QuadCurve class defines a quadratic parametric curve segment in (x, y) coordinate space.
|
|
Rectangle
|
A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object’s upper-left point (x, y) in the coordinate space, its width, and its height.
|
|
RectangularShape
|
RectangularShape is the base class for a number of Shape objects whose geometry is defined by a rectangular frame.
|
|
RoundRectangle
|
The RoundRectangle class defines a rectangle with rounded corners defined by a location (x, y), a dimension (w x h), and the width and height of an arc with which to round the corners.
|

Leave a comment