Package | Description |
---|---|
edu.ucdavis.cstars.client.symbol |
Modifier and Type | Method and Description |
---|---|
static TextSymbol |
TextSymbol.create(com.google.gwt.core.client.JavaScriptObject json)
Creates a new TextSymbol object using a JSON object.
|
static TextSymbol |
TextSymbol.create(java.lang.String text)
Creates a new TextSymbol object that includes only the text.
|
static TextSymbol |
TextSymbol.create(java.lang.String text,
Font font,
Color color)
Creates a new TextSymbol object.
|
TextSymbol |
TextSymbol.setAlign(TextSymbol.AlignType align)
Sets the alignment of the text.
|
TextSymbol |
TextSymbol.setAngle(int angle)
Sets the angle of the text.
|
TextSymbol |
TextSymbol.setDecoration(TextSymbol.DecorationType decoration)
Sets the decoration for the text.Many browsers including Internet Explorer 7, Firefox and Opera 9
do not support the decoration properties for text symbols.
|
TextSymbol |
TextSymbol.setFont(Font font)
Sets the text font.
|
TextSymbol |
TextSymbol.setKerning(boolean kerning)
Sets whether to adjust the spacing between characters in the text string.
|
TextSymbol |
TextSymbol.setOffset(int x,
int y)
Sets the x and y offset of the text.
|
TextSymbol |
TextSymbol.setRotated(boolean rotated)
Sets whether every character in the text string is rotated.
|
TextSymbol |
TextSymbol.setText(java.lang.String text)
Sets the text string.
|