public interface GeographicText
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackgroundColor()
Indicates the background color used to draw the text.
|
java.awt.Color |
getColor()
Indicates the color used to draw the text.
|
java.awt.Font |
getFont()
Indicates the font used to draw the text.
|
Position |
getPosition()
Indicates the geographic position of the text.
|
double |
getPriority()
Indicates the text priority.
|
java.lang.CharSequence |
getText()
Indicates the text contained in this object.
|
boolean |
isVisible()
Indicates whether or not the text is visible.
|
void |
setBackgroundColor(java.awt.Color background)
Specifies the background color used to draw the text.
|
void |
setColor(java.awt.Color color)
Specifies the color used to draw the text.
|
void |
setFont(java.awt.Font font)
Specifies the font used to draw the text.
|
void |
setPosition(Position position)
Specifies the geographic position of the text.
|
void |
setPriority(double d)
Specifies the text priority.
|
void |
setText(java.lang.CharSequence text)
Specifies the text.
|
void |
setVisible(boolean visible)
Specifies whether or not the text is visible.
|
java.awt.Color getBackgroundColor()
java.awt.Color getColor()
java.awt.Font getFont()
Position getPosition()
double getPriority()
java.lang.CharSequence getText()
boolean isVisible()
false
.true
if the text is visible, otherwise false
.void setBackgroundColor(java.awt.Color background)
background
- New background color.void setColor(java.awt.Color color)
color
- New color.void setFont(java.awt.Font font)
font
- New font.void setPosition(Position position)
position
- New text position.void setPriority(double d)
d
- New priority.void setText(java.lang.CharSequence text)
text
- New text.void setVisible(boolean visible)
false
.visible
- true
if the text should be visible. false
if not.