public class TextPath
Use the
Property Getters/Setters Summary | ||
---|---|---|
boolean | getBold() | |
void | setBold(booleanvalue) | |
True if the font is formatted as bold. | ||
boolean | getFitPath() | |
void | setFitPath(booleanvalue) | |
Defines whether the text fits the path of a shape. | ||
boolean | getFitShape() | |
void | setFitShape(booleanvalue) | |
Defines whether the text fits bounding box of a shape. | ||
java.lang.String | getFontFamily() | |
void | setFontFamily(java.lang.Stringvalue) | |
Defines the family of the textpath font. | ||
boolean | getItalic() | |
void | setItalic(booleanvalue) | |
True if the font is formatted as italic. | ||
boolean | getKerning() | |
void | setKerning(booleanvalue) | |
Determines whether kerning is turned on. | ||
boolean | getOn() | |
void | setOn(booleanvalue) | |
Defines whether the text is displayed. | ||
boolean | getReverseRows() | |
void | setReverseRows(booleanvalue) | |
Determines whether the layout order of rows is reversed. | ||
boolean | getRotateLetters() | |
void | setRotateLetters(booleanvalue) | |
Determines whether the letters of the text are rotated. | ||
boolean | getSameLetterHeights() | |
void | setSameLetterHeights(booleanvalue) | |
Determines whether all letters will be the same height regardless of initial case. | ||
boolean | getShadow() | |
void | setShadow(booleanvalue) | |
Defines whether a shadow is applied to the text on a text path. | ||
double | getSize() | |
void | setSize(doublevalue) | |
Defines the size of the font in points. | ||
boolean | getSmallCaps() | |
void | setSmallCaps(booleanvalue) | |
True if the font is formatted as small capital letters. | ||
double | getSpacing() | |
void | setSpacing(doublevalue) | |
Defines the amount of spacing for text. 1 means 100%. | ||
boolean | getStrikeThrough() | |
void | setStrikeThrough(booleanvalue) | |
True if the font is formatted as strikethrough text. | ||
java.lang.String | getText() | |
void | setText(java.lang.Stringvalue) | |
Defines the text of the text path. | ||
int | getTextPathAlignment() | |
void | setTextPathAlignment(intvalue) | |
Defines the alignment of text. The value of the property is TextPathAlignment integer constant. | ||
boolean | getTrim() | |
void | setTrim(booleanvalue) | |
Determines whether extra space is removed above and below the text. | ||
boolean | getUnderline() | |
void | setUnderline(booleanvalue) | |
True if the font is underlined. | ||
boolean | getXScale() | |
void | setXScale(booleanvalue) | |
Determines whether a straight textpath will be used instead of the shape path. |
public boolean getBold() / public void setBold(boolean value)
The default value is false.
public boolean getFitPath() / public void setFitPath(boolean value)
The default value is false.
public boolean getFitShape() / public void setFitShape(boolean value)
The default value is false.
public java.lang.String getFontFamily() / public void setFontFamily(java.lang.String value)
The default value is Arial.
public boolean getItalic() / public void setItalic(boolean value)
The default value is false.
public boolean getKerning() / public void setKerning(boolean value)
The default value is false.
public boolean getOn() / public void setOn(boolean value)
The default value is false.
public boolean getReverseRows() / public void setReverseRows(boolean value)
The default value is false.
If true, the layout order of rows is reversed. This attribute is used for vertical text layout.
public boolean getRotateLetters() / public void setRotateLetters(boolean value)
The default value is false.
public boolean getSameLetterHeights() / public void setSameLetterHeights(boolean value)
The default value is false.
public boolean getShadow() / public void setShadow(boolean value)
The default value is false.
public double getSize() / public void setSize(double value)
The default value is 36.
public boolean getSmallCaps() / public void setSmallCaps(boolean value)
The default value is false.
public double getSpacing() / public void setSpacing(double value)
The default value is 1.
public boolean getStrikeThrough() / public void setStrikeThrough(boolean value)
The default value is false.
public java.lang.String getText() / public void setText(java.lang.String value)
The default value is an empty string.
public int getTextPathAlignment() / public void setTextPathAlignment(int value)
The default value is
public boolean getTrim() / public void setTrim(boolean value)
The default value is false.
public boolean getUnderline() / public void setUnderline(boolean value)
The default value is false.
public boolean getXScale() / public void setXScale(boolean value)
The default value is false.
If true, the text runs along a path from left to right along the x value of the lower boundary of the shape.