| Package | Description |
|---|---|
| com.io7m.jregions.core.parameterized.areas |
Area types.
|
| com.io7m.jregions.generators |
Quickcheck generators.
|
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaF<S> |
PAreasF.alignCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMaxXOffset(PAreaF,
PAreaF, float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMinXOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMaxYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMinYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
PAreaF<S> |
PAreaF.Builder.build()
Builds a new
PAreaF. |
static <S,T> PAreaF<T> |
PAreasF.cast(PAreaF<S> area)
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaF<S> |
PAreasF.containing(PAreaF<S> a,
PAreaF<S> b)
Construct a area that will contain both
a and b. |
static <S> PAreaF<S> |
PAreasF.create(float x,
float y,
float width,
float height)
Create an area of width
width and height height, placing
the minimum corner at (x, y). |
static <S> PAreaF<S> |
PAreasF.fitBetweenHorizontal(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaF<S> |
PAreasF.fitBetweenVertical(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaF<S> |
PAreasF.hollowOut(PAreaF<S> outer,
float min_x_offset,
float max_x_offset,
float min_y_offset,
float max_y_offset)
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaF<S> |
PAreasF.hollowOutEvenly(PAreaF<S> outer,
float offset)
Equivalent to calling
PAreasF.hollowOut(PAreaF, float, float,
float, float) with offset for all offset parameters. |
static <S> PAreaF<S> |
PAreasF.moveAbsolute(PAreaF<S> area,
float x,
float y)
Move the given area to
(x, y). |
static <S> PAreaF<S> |
PAreasF.moveRelative(PAreaF<S> area,
float x,
float y)
Move the given area by
(x, y). |
static <S> PAreaF<S> |
PAreasF.moveToOrigin(PAreaF<S> area)
Move the given area to
(0, 0). |
static <S> PAreaF<S> |
PAreaF.of(float minimumX,
float maximumX,
float minimumY,
float maximumY)
Construct a new immutable
PAreaF instance. |
static <S> PAreaF<S> |
PAreasF.scaleFromCenter(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMaxYMaxX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMaxYMinX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMinYMaxX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMinYMinX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.setSizeFromCenter(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMaxYMaxX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMaxYMinX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMinYMaxX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMinYMinX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaXSplitF<S,PAreaF<S>> |
PAreasF.splitAlongParallelToX(PAreaF<S> area,
float y)
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitF<S,PAreaF<S>> |
PAreasF.splitAlongParallelToY(PAreaF<S> area,
float x)
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaF<S> |
PAreasF.alignCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMaxXOffset(PAreaF,
PAreaF, float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMaxXOffset(PAreaF,
PAreaF, float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMinXOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignHorizontallyMinXOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignHorizontallyMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMaxYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMaxYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMaxXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMaxXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinX(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignMinYMinXOffset(PAreaF, PAreaF,
float, float) with zero offsets. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignMinYMinXOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset_x,
float offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyCenter(PAreaF<S> outer,
PAreaF<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMaxYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMaxYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMaxYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMinYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinY(PAreaF<S> outer,
PAreaF<S> inner)
Equivalent to calling
PAreasF.alignVerticallyMinYOffset(PAreaF, PAreaF,
float) with a zero offset. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
static <S> PAreaF<S> |
PAreasF.alignVerticallyMinYOffset(PAreaF<S> outer,
PAreaF<S> inner,
float offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
static <S,T> PAreaF<T> |
PAreasF.cast(PAreaF<S> area)
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaF<S> |
PAreasF.containing(PAreaF<S> a,
PAreaF<S> b)
Construct a area that will contain both
a and b. |
static <S> PAreaF<S> |
PAreasF.containing(PAreaF<S> a,
PAreaF<S> b)
Construct a area that will contain both
a and b. |
static <S> boolean |
PAreasF.contains(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not one area contains another.
|
static <S> boolean |
PAreasF.contains(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not one area contains another.
|
static <S> boolean |
PAreasF.containsPoint(PAreaF<S> a,
float x,
float y)
Determine whether or not a area contains a given point.
|
static <S> boolean |
PAreasF.couldFitInside(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not one area could fit inside another.
|
static <S> boolean |
PAreasF.couldFitInside(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not one area could fit inside another.
|
static <S> PAreaF<S> |
PAreasF.fitBetweenHorizontal(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaF<S> |
PAreasF.fitBetweenHorizontal(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaF<S> |
PAreasF.fitBetweenHorizontal(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaF<S> |
PAreasF.fitBetweenVertical(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaF<S> |
PAreasF.fitBetweenVertical(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaF<S> |
PAreasF.fitBetweenVertical(PAreaF<S> fit,
PAreaF<S> a,
PAreaF<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaF<S> |
PAreasF.hollowOut(PAreaF<S> outer,
float min_x_offset,
float max_x_offset,
float min_y_offset,
float max_y_offset)
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaF<S> |
PAreasF.hollowOutEvenly(PAreaF<S> outer,
float offset)
Equivalent to calling
PAreasF.hollowOut(PAreaF, float, float,
float, float) with offset for all offset parameters. |
static <S> PAreaF<S> |
PAreasF.moveAbsolute(PAreaF<S> area,
float x,
float y)
Move the given area to
(x, y). |
static <S> PAreaF<S> |
PAreasF.moveRelative(PAreaF<S> area,
float x,
float y)
Move the given area by
(x, y). |
static <S> PAreaF<S> |
PAreasF.moveToOrigin(PAreaF<S> area)
Move the given area to
(0, 0). |
static <S> boolean |
PAreasF.overlaps(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not two areas overlap.
|
static <S> boolean |
PAreasF.overlaps(PAreaF<S> a,
PAreaF<S> b)
Determine whether or not two areas overlap.
|
static <S> PAreaF<S> |
PAreasF.scaleFromCenter(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMaxYMaxX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMaxYMinX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMinYMaxX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.scaleFromMinYMinX(PAreaF<S> area,
float x_diff,
float y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaF<S> |
PAreasF.setSizeFromCenter(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMaxYMaxX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMaxYMinX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMinYMaxX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaF<S> |
PAreasF.setSizeFromMinYMinX(PAreaF<S> area,
float width,
float height)
Set the width and height of
area to width and height, respectively. |
static <S> String |
PAreasF.show(PAreaF<S> area) |
static <S> String |
PAreasF.showToBuilder(PAreaF<S> area,
StringBuilder sb) |
static <S> PAreaXSplitF<S,PAreaF<S>> |
PAreasF.splitAlongParallelToX(PAreaF<S> area,
float y)
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitF<S,PAreaF<S>> |
PAreasF.splitAlongParallelToY(PAreaF<S> area,
float x)
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
| Modifier and Type | Method and Description |
|---|---|
PAreaF<S> |
PAreaFGenerator.next() |
Copyright © 2017 <code@io7m.com> http://io7m.com