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