Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDimension
Provides most of the implementation of
IDimension , obtaining only width and height from
the derived class. |
class |
Dimension
Represents a magnitude in two dimensions.
|
Modifier and Type | Field and Description |
---|---|
static IDimension |
Dimensions.ZERO
A dimension width zero width and height.
|
Modifier and Type | Method and Description |
---|---|
void |
Arc.setArc(XY point,
IDimension size,
double start,
double extent,
int type)
Sets the location, size, angular extents, and closure type of this arc to the specified
values.
|
void |
RectangularShape.setFrame(XY loc,
IDimension size)
Sets the location and size of the framing rectangle of this shape to the supplied values.
|
void |
Rectangle.setSize(IDimension d)
Sets the size of this rectangle to the supplied dimensions.
|
void |
Dimension.setSize(IDimension d)
Sets the magnitudes of this dimension to be equal to the supplied dimension.
|
Constructor and Description |
---|
Dimension(IDimension d)
Creates a dimension with width and height equal to the supplied dimension.
|
Rectangle(IDimension d)
Constructs a rectangle with upper-left corner at (0,0) and the supplied dimensions.
|
Rectangle(XY p,
IDimension d)
Constructs a rectangle with upper-left corner at the supplied point and with the supplied
dimensions.
|
Copyright © 2017. All rights reserved.