TextTypes.TabType
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
TEXT_CHAR_SPACING, TEXT_COLOR, TEXT_FONT, TEXT_FORMAT, TEXT_LINK, TEXT_OUTLINE, TEXT_SCRIPTING, TEXT_UNDERLINE
Constructor and Description |
---|
TextStyle() |
Modifier and Type | Method and Description |
---|---|
TextStyle |
clone()
Standard clone implementation.
|
TextStyle |
clone(java.util.Map<?,?> aMap)
Clone with map.
|
TextStyle |
clone(SnapColor aColor)
Clone with color.
|
TextStyle |
clone(SnapFont aFont)
Clone with font.
|
TextStyle |
clone(java.lang.String aKey,
java.lang.Object aValue)
Clone with key/value.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
double |
getCharSpacing()
Returns the char spacing.
|
SnapColor |
getColor()
Returns the color for this run.
|
SnapFont |
getFont()
Returns the font for this run.
|
TextLink |
getLink()
Returns the link.
|
int |
getScripting()
Returns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none).
|
int |
getUnderlineStyle()
Returns the underline style of this run.
|
int |
hashCode()
Standard hashCode implementation.
|
boolean |
isUnderlined()
Returns whether this run is underlined.
|
java.lang.String |
toString()
Standard toString implementation.
|
public SnapFont getFont()
public SnapColor getColor()
public boolean isUnderlined()
public int getUnderlineStyle()
public int getScripting()
public double getCharSpacing()
public TextLink getLink()
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TextStyle clone()
clone
in class java.lang.Object
public TextStyle clone(java.lang.String aKey, java.lang.Object aValue)
public TextStyle clone(java.util.Map<?,?> aMap)
public java.lang.String toString()
toString
in class java.lang.Object