Dimension |
Dimension.clone() |
|
Dimension |
Dimension.expand(double w,
double h) |
Expands the size of this Dimension by the specified width and height.
|
Dimension |
Dimension.expand(Dimension d) |
Expands the size of this Dimension by the specified amount.
|
Dimension |
Dimension.getCopy() |
Creates and returns a copy of this Dimension .
|
Dimension |
Dimension.getExpanded(double w,
double h) |
Creates and returns a new Dimension representing the sum of this
Dimension and the one specified.
|
Dimension |
Dimension.getExpanded(Dimension d) |
Creates and returns a Dimension representing the sum of this
Dimension and the one specified.
|
Dimension |
Dimension.getIntersected(Dimension d) |
Creates and returns a new Dimension representing the intersection of this
Dimension and the one specified.
|
Dimension |
Dimension.getNegated() |
Creates and returns a new Dimension with negated values.
|
Dimension |
Dimension.getScaled(double amount) |
Creates a new Dimension with its width and height scaled by the specified
value.
|
Dimension |
Dimension.getScaled(double widthFactor,
double heightFactor) |
Creates a new Dimension with its width and height scaled by the specified
values.
|
Dimension |
Dimension.getShrinked(double w,
double h) |
Creates and returns a new Dimension whose size will be reduced by the
given width and height.
|
Dimension |
Dimension.getShrinked(Dimension d) |
Creates and returns a new Dimension whose size will be reduced by the
width and height of the given Dimension.
|
Dimension |
Dimension.getTransposed() |
Creates a new Dimension with its height and width swapped.
|
Dimension |
Dimension.getUnioned(Dimension d) |
Creates a new Dimension representing the union of this Dimension with the
one specified.
|
Dimension |
Dimension.intersect(Dimension d) |
This Dimension is intersected with the one specified.
|
static Dimension |
Dimension.max(Dimension d1,
Dimension d2) |
|
static Dimension |
Dimension.min(Dimension d1,
Dimension d2) |
|
Dimension |
Dimension.negate() |
Negates the width and height of this Dimension.
|
Dimension |
Dimension.scale(double factor) |
Scales the width and height of this Dimension by the amount supplied, and
returns this for convenience.
|
Dimension |
Dimension.scale(double widthFactor,
double heightFactor) |
Scales the width of this Dimension by w and scales the height of
this Dimension by h.
|
Dimension |
Dimension.setHeight(double height) |
Sets the height of this Rectangle to the specified one.
|
Dimension |
Dimension.setSize(double w,
double h) |
Sets the size of this dimension to the specified width and height.
|
Dimension |
Dimension.setSize(Dimension d) |
Copies the width and height values of the input Dimension to this
Dimension.
|
Dimension |
Dimension.setWidth(double width) |
Sets the width of this Rectangle to the specified one.
|
Dimension |
Dimension.shrink(double w,
double h) |
Reduces the width of this Dimension by w, and reduces the height
of this Dimension by h.
|
Dimension |
Dimension.shrink(Dimension d) |
Shrinks the size of this Dimension by the width and height values of the
given Dimension.
|
Dimension |
Dimension.transpose() |
Swaps the width and height of this Dimension, and returns this for
convenience.
|
Dimension |
Dimension.union(Dimension d) |
Sets the width of this Dimension to the greater of this Dimension's width
and d.width.
|