public interface ITextSymbol extends ISymbol
Modifier and Type | Field and Description |
---|---|
static String |
SYMBOL_NAME |
static int |
SYMBOL_STYLE_ALIGNMENT_CENTERED |
static int |
SYMBOL_STYLE_ALIGNMENT_JUSTIFY |
static int |
SYMBOL_STYLE_ALIGNMENT_LEFT |
static int |
SYMBOL_STYLE_ALIGNMENT_RIGHT |
SELECTION_COLOR
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds() |
Font |
getFont()
Returns the currently set font.
|
Color |
getHaloColor() |
float |
getHaloWidth() |
String |
getText()
Deprecated.
?do i need it?
|
Color |
getTextColor()
Returns the currently color set to be applied to the text
|
Geometry |
getTextWrappingShape(Point p)
Computes a Geometry wrapping the text to be applied
|
boolean |
isAutoresizeEnabled() |
boolean |
isDrawWithHalo() |
void |
setAutoresizeEnabled(boolean autoresizeFlag) |
void |
setDrawWithHalo(boolean drawWithHalo) |
void |
setFont(Font font)
Establishes the font that will be used to render this ITextSymbol.
|
void |
setFontSize(double d)
Sets the font size currently set to this symbol
|
void |
setHaloColor(Color haloColor) |
void |
setHaloWidth(float haloWidth) |
void |
setText(String text)
Sets the text to be rendered by this symbol
|
void |
setTextColor(Color color)
Sets the color of the text
|
draw, drawInsideRectangle, getColor, getDescription, getOnePointRgb, getPixExtentPlus, getSymbolForSelection, getSymbolType, isOneDotOrPixel, isShapeVisible, isSuitableFor, setColor, setDescription
loadFromState, saveToState
print
static final String SYMBOL_NAME
static final int SYMBOL_STYLE_ALIGNMENT_LEFT
static final int SYMBOL_STYLE_ALIGNMENT_RIGHT
static final int SYMBOL_STYLE_ALIGNMENT_CENTERED
static final int SYMBOL_STYLE_ALIGNMENT_JUSTIFY
void setFont(Font font)
font
- Font getFont()
Color getTextColor()
void setTextColor(Color color)
color
- String getText()
void setText(String text)
text,
- a Stringvoid setFontSize(double d)
d
- Geometry getTextWrappingShape(Point p)
p
- target locationRectangle getBounds()
void setAutoresizeEnabled(boolean autoresizeFlag)
boolean isAutoresizeEnabled()
Color getHaloColor()
void setHaloColor(Color haloColor)
float getHaloWidth()
void setHaloWidth(float haloWidth)
boolean isDrawWithHalo()
void setDrawWithHalo(boolean drawWithHalo)