| Package | Description |
|---|---|
| noawt.java.awt | |
| noawt.java.awt.geom |
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Arc2D
Arc2D is the abstract superclass for all objects that 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).
|
static class |
Arc2D
This class defines an arc specified in
double precision.
|
static class |
Arc2D
This class defines an arc specified in
float precision.
|
class |
Area
An
Area object stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.
|
class |
CubicCurve2D
The
CubicCurve2D class defines a cubic parametric curve segment in
(x,y) coordinate space.
|
static class |
CubicCurve2D
A cubic parametric curve segment specified with
double coordinates.
|
static class |
CubicCurve2D
A cubic parametric curve segment specified with
float coordinates.
|
class |
Ellipse2D
The
Ellipse2D class describes an ellipse that is defined by a framing rectangle.
|
static class |
Ellipse2D
The
Double class defines an ellipse specified in
double precision.
|
static class |
Ellipse2D
The
Float class defines an ellipse specified in
float precision.
|
class |
GeneralPath
The
GeneralPath class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.
|
class |
Line2D
This
Line2D represents a line segment in
(x,y) coordinate space.
|
static class |
Line2D
A line segment specified with double coordinates.
|
static class |
Line2D
A line segment specified with float coordinates.
|
class |
Path2D
The
Path2D class provides a simple, yet flexible shape which represents an arbitrary geometric path.
|
static class |
Path2D
The
Double class defines a geometric path with coordinates stored in double precision floating point.
|
static class |
Path2D
The
Float class defines a geometric path with coordinates stored in single precision floating point.
|
class |
QuadCurve2D
The
QuadCurve2D class defines a quadratic parametric curve segment in
(x,y) coordinate space.
|
static class |
QuadCurve2D
A quadratic parametric curve segment specified with
double coordinates.
|
static class |
QuadCurve2D
A quadratic parametric curve segment specified with
float coordinates.
|
class |
Rectangle2D
The
Rectangle2D class describes a rectangle defined by a location
(x,y) and dimension
(w x h).
|
static class |
Rectangle2D
The
Double class defines a rectangle specified in double coordinates.
|
static class |
Rectangle2D
The
Float class defines a rectangle specified in float coordinates.
|
class |
RectangularShape
RectangularShape is the base class for a number of
Shape objects whose geometry is defined by a rectangular frame.
|
class |
RoundRectangle2D
The
RoundRectangle2D 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.
|
static class |
RoundRectangle2D
The
Double class defines a rectangle with rounded corners all specified in
double coordinates.
|
static class |
RoundRectangle2D
The
Float class defines a rectangle with rounded corners all specified in
float coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
Shape |
Path2D.createTransformedShape(AffineTransform
Returns a new
Shape representing a transformed version of this
Path2D.
|
Shape |
AffineTransform.createTransformedShape(Shape
Returns a new
Shape object defined by the geometry of the specified
Shape after it has been transformed by this transform.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Path2D.append(Shape
Appends the geometry of the specified
Shape object to the path, possibly connecting the new geometry to the existing path segments with a line segment.
|
Shape |
AffineTransform.createTransformedShape(Shape
Returns a new
Shape object defined by the geometry of the specified
Shape after it has been transformed by this transform.
|
| Constructor and Description | |
|---|---|
Area(Shape
The
Area class creates an area geometry from the specified
Shape object.
|
|
Double(Shape
Constructs a new double precision
Path2D object from an arbitrary
Shape object.
|
|
Double(Shape
Constructs a new double precision
Path2D object from an arbitrary
Shape object, transformed by an
AffineTransform object.
|
|
Float(Shape
Constructs a new single precision
Path2D object from an arbitrary
Shape object.
|
|
Float(Shape
Constructs a new single precision
Path2D object from an arbitrary
Shape object, transformed by an
AffineTransform object.
|
|
GeneralPath(Shape
Constructs a new
GeneralPath object from an arbitrary
Shape object.
|