| Package | org.juicekit.flare.vis.label |
| Class | public class LabelFormat |
| Inheritance | LabelFormat flash.text.TextFormat |
| Property | Defined by | ||
|---|---|---|---|
| horizontalAnchor : uint
Determines how the text is horizontally aligned with
respect to a TextSprite's (x,y) location.
| LabelFormat | ||
| verticalAnchor : uint
Determines how the text is vertically aligned with
respect to a TextSprite's (x,y) location.
| LabelFormat | ||
| Method | Defined by | ||
|---|---|---|---|
|
LabelFormat(font:String = "Verdana", size:uint = 10, color:uint = 0, bold:Boolean = false, italic:Boolean = false)
Constructor.
| LabelFormat | ||
| Constant | Defined by | ||
|---|---|---|---|
| BOTTOM : int [static]
Constant for vertically aligning the bottom of the text field
to a TextSprite's y-coordinate.
| LabelFormat | ||
| CENTER : int [static]
Constant for horizontally aligning the center of the text field
to a TextSprite's x-coordinate.
| LabelFormat | ||
| LEFT : int [static]
Constant for horizontally aligning the left of the text field
to a TextSprite's x-coordinate.
| LabelFormat | ||
| MIDDLE : int [static]
Constant for vertically aligning the middle of the text field
to a TextSprite's y-coordinate.
| LabelFormat | ||
| RIGHT : int [static]
Constant for horizontally aligning the right of the text field
to a TextSprite's x-coordinate.
| LabelFormat | ||
| TOP : int [static]
Constant for vertically aligning the top of the text field
to a TextSprite's y-coordinate.
| LabelFormat | ||
| horizontalAnchor | property |
public var horizontalAnchor:uintDetermines how the text is horizontally aligned with respect to a TextSprite's (x,y) location.
| verticalAnchor | property |
public var verticalAnchor:uintDetermines how the text is vertically aligned with respect to a TextSprite's (x,y) location.
| LabelFormat | () | constructor |
public function LabelFormat(font:String = "Verdana", size:uint = 10, color:uint = 0, bold:Boolean = false, italic:Boolean = false)Constructor.
Parametersfont:String (default = "Verdana") |
|
size:uint (default = 10) |
|
color:uint (default = 0) |
|
bold:Boolean (default = false) |
|
italic:Boolean (default = false) |
| BOTTOM | constant |
public static const BOTTOM:intConstant for vertically aligning the bottom of the text field to a TextSprite's y-coordinate.
| CENTER | constant |
public static const CENTER:intConstant for horizontally aligning the center of the text field to a TextSprite's x-coordinate.
| LEFT | constant |
public static const LEFT:intConstant for horizontally aligning the left of the text field to a TextSprite's x-coordinate.
| MIDDLE | constant |
public static const MIDDLE:intConstant for vertically aligning the middle of the text field to a TextSprite's y-coordinate.
| RIGHT | constant |
public static const RIGHT:intConstant for horizontally aligning the right of the text field to a TextSprite's x-coordinate.
| TOP | constant |
public static const TOP:intConstant for vertically aligning the top of the text field to a TextSprite's y-coordinate.