Name
label —
a label for a chart
Description
![[Warning]](images/warning.png) |
Warning |
| This component is of Beta quality and is subject to change. |
An abstract class that applies all features label.
Details
Properties (2)
-
enableCache
-
<attribute name="enableCache" type="boolean" value="true" />
private var enableCache : boolean;
-
style
-
<attribute name="style" type="string" value="null" />
private var style : String;
the style will be applied
Methods (8)
-
applyRotation()
-
<method name="applyRotation" args="pAngle, pfontName" />
private function applyRotation(pAngle, pfontName);
-
border()
-
private function border();
-
draw()
-
<method name="draw" args="aBeginPosX, aBeginPosY, aEndPosX, aEndPosY" />
private function draw(aBeginPosX : Number, aBeginPosY : Number, aEndPosX : Number, aEndPosY : Number);
-
embeddedFont()
-
<method name="embeddedFont" args="str" />
private function embeddedFont(str);
-
getText()
-
<method name="getText" />
public function getText();
-
getTextHeight()
-
<method name="getTextHeight" />
public function getTextHeight();
-
getTextWidth()
-
<method name="getTextWidth" />
public function getTextWidth();
-
render()
-
<method name="render" args="txt" />
public function render(txt : string);
LZX Synopsis
<class name="
lz.label" extends="
lz.drawview
">
<attribute name="
enableCache
" type="
boolean" value="
true" />
<attribute name="
style
" type="
string" value="
null" />
<method name="
draw
" args="
aBeginPosX,
aBeginPosY,
aEndPosX,
aEndPosY" />
<method name="
render
" args="
txt" />
</class>
JavaScript Synopsis
public
lz.label extends
lz.drawview
{
private var
style
:
String;
prototype private function
border
();
prototype private function
draw
(
aBeginPosX : Number,
aBeginPosY : Number,
aEndPosX : Number,
aEndPosY : Number);
prototype public function
getText
();
prototype public function
render
(
txt : string);
}