public class LineDecoration extends Decoration implements Coggable
interval, minimumLength, minimumLengthUnits, UNIT_INCHES, UNIT_MAP, UNIT_PERCENT, UNIT_PIXELS, unitType| Constructor and Description |
|---|
LineDecoration() |
LineDecoration(Cog state) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAngleOffset() |
java.lang.String |
getDecoratorStyle() |
java.lang.String |
getTextValue() |
boolean |
isAutoRotate()
true - angleOffset is relative from line angle false - angleOffset is
absolute
|
boolean |
isTextDecoration() |
void |
setAngleOffset(double angleOffset) |
void |
setAutoRotate(boolean autoRotate) |
void |
setDecoratorStyle(java.lang.String decoratorStyle) |
void |
setTextDecoration(boolean textDecoration) |
void |
setTextValue(java.lang.String textValue) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
createInterval, createMinimumLengthInterval, getInterval, getMinimumLength, getMinimumLengthUnits, getUnitType, setInterval, setMinimumLength, setMinimumLengthUnits, setUnitTypepublic LineDecoration()
public LineDecoration(Cog state)
public Cog toCog()
CoggableCog.toCog in interface CoggabletoCog in class Decorationpublic double getAngleOffset()
public boolean isAutoRotate()
public java.lang.String getDecoratorStyle()
public boolean isTextDecoration()
public java.lang.String getTextValue()
public void setAngleOffset(double angleOffset)
public void setAutoRotate(boolean autoRotate)
public void setDecoratorStyle(java.lang.String decoratorStyle)
public void setTextDecoration(boolean textDecoration)
public void setTextValue(java.lang.String textValue)