|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.texture.TextEntity
public class TextEntity
| Field Summary | |
|---|---|
static boolean |
DEFAULT_TEXT_ANTI_ALIASED
The default text anti-aliased status. |
static Color |
DEFAULT_TEXT_COLOR
The default text color. |
static boolean |
DEFAULT_TEXT_USE_FRACTIONAL_METRICS
The default text use fractional matrix status. |
| Constructor Summary | |
|---|---|
TextEntity(java.lang.String text)
Default constructor. |
|
| Method Summary | |
|---|---|
java.awt.Font |
getFont()
Return the text font. |
java.awt.Dimension |
getSize()
Return the dimension in pixel of the text entity. |
java.lang.String |
getText()
Return the text content. |
Color |
getTextColor()
Return the text color. |
boolean |
isTextAntiAliased()
Return the text anti-aliased status. |
boolean |
isTextUseFractionalMetrics()
Return the text use fractional metrics status. |
boolean |
isValid()
TextEntity validity getter. |
void |
setFont(java.awt.Font font)
Set the text font. |
void |
setText(java.lang.String text)
Set the text content. |
void |
setTextAntiAliased(boolean textAntiAliased)
Set the text anti-aliased status. |
void |
setTextColor(Color textColor)
Set the text color. |
void |
setTextUseFractionalMetrics(boolean textUseFractionalMetrics)
Set the text use fractional metrics status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Color DEFAULT_TEXT_COLOR
public static final boolean DEFAULT_TEXT_ANTI_ALIASED
public static final boolean DEFAULT_TEXT_USE_FRACTIONAL_METRICS
| Constructor Detail |
|---|
public TextEntity(java.lang.String text)
text - the text content.| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String text)
text - the new text content.public java.awt.Font getFont()
public void setFont(java.awt.Font font)
font - the new text font.public Color getTextColor()
public void setTextColor(Color textColor)
textColor - the new text color.public boolean isTextAntiAliased()
public void setTextAntiAliased(boolean textAntiAliased)
textAntiAliased - the new text anti-aliased status.public boolean isTextUseFractionalMetrics()
public void setTextUseFractionalMetrics(boolean textUseFractionalMetrics)
textUseFractionalMetrics - the new text use fractional metrics status.public boolean isValid()
public java.awt.Dimension getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||