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