public abstract class PatternShape2d extends Pattern implements IFillerPatternShape
| Modifier and Type | Class and Description |
|---|---|
static class |
PatternShape2d.ArcType |
static class |
PatternShape2d.LineList |
uniqueTag| Constructor and Description |
|---|
PatternShape2d(java.lang.String tag) |
| Modifier and Type | Method and Description |
|---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
boolean |
fillTemplate(IFilledTemplate filledTemplate,
IStatementParameter[] params) |
protected abstract void |
genShape(int maxA,
int maxB,
PatternShape2d.LineList list) |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
int |
minParameters()
Return the minimum number of parameter this statement can have, 0 if none.
|
actionActivate, getDescription, getPossiblegetParam, getUniqueTag, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTemplategetPossible, getSpritecreateParameter, isPossibleOrdered, rotateLeftgetDescription, getTooltip, getUniqueTagconvertTopublic int minParameters()
IStatementminParameters in interface IStatementminParameters in class BCStatementpublic int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatementpublic boolean fillTemplate(IFilledTemplate filledTemplate, IStatementParameter[] params)
fillTemplate in interface IFillerPatternShapefilledTemplate - empty templatetrue if the template filled, or false if this shouldn't make a template for the given params.protected abstract void genShape(int maxA,
int maxB,
PatternShape2d.LineList list)