Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
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,
float start,
float 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.