public interface LabelAPI
Modifier and Type | Method and Description |
---|---|
void |
advance(float amount) |
PositionAPI |
autoSizeToWidth(float width) |
float |
computeTextHeight(java.lang.String in) |
float |
computeTextWidth(java.lang.String in) |
void |
flash(float durIn,
float durOut) |
float |
getOpacity() |
PositionAPI |
getPosition() |
java.lang.String |
getText() |
void |
highlightFirst(java.lang.String substring) |
void |
highlightLast(java.lang.String substring) |
void |
italicize() |
void |
italicize(float shear) |
void |
render(float alphaMult) |
void |
setAlignment(Alignment mid) |
void |
setColor(java.awt.Color color) |
void |
setHighlight(int start,
int end) |
void |
setHighlight(java.lang.String... substrings) |
void |
setHighlightColor(java.awt.Color color) |
void |
setHighlightColors(java.awt.Color... colors) |
void |
setHighlightOnMouseover(boolean highlightOnMouseover) |
void |
setOpacity(float opacity) |
void |
setText(java.lang.String text) |
void |
unhighlightIndex(int index) |
void |
unitalicize() |
void setHighlight(int start, int end)
void highlightFirst(java.lang.String substring)
void highlightLast(java.lang.String substring)
void setHighlight(java.lang.String... substrings)
void unhighlightIndex(int index)
void setHighlightColor(java.awt.Color color)
void setHighlightColors(java.awt.Color... colors)
void setAlignment(Alignment mid)
void setText(java.lang.String text)
java.lang.String getText()
void setOpacity(float opacity)
float getOpacity()
PositionAPI getPosition()
void italicize()
void italicize(float shear)
shear
- amount of shear to the rightvoid unitalicize()
PositionAPI autoSizeToWidth(float width)
float computeTextWidth(java.lang.String in)
float computeTextHeight(java.lang.String in)
void flash(float durIn, float durOut)
void render(float alphaMult)
void advance(float amount)
void setHighlightOnMouseover(boolean highlightOnMouseover)
void setColor(java.awt.Color color)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.