public class RepeatingExtentPattern extends AbstractPattern
Extent, repeating when out of bounds.| Constructor and Description |
|---|
RepeatingExtentPattern(Extent extent,
Vector offset)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBlock |
apply(Vector position)
Return a
BaseBlock for the given position. |
Extent |
getExtent()
Get the extent.
|
Vector |
getOffset()
Get the offset.
|
void |
setExtent(Extent extent)
Set the extent.
|
void |
setOffset(Vector offset)
Set the offset.
|
public Extent getExtent()
public void setExtent(Extent extent)
extent - the extentpublic Vector getOffset()
public void setOffset(Vector offset)
offset - the offsetCopyright © 2010-2014. All Rights Reserved.