Constructor
new Font(chart)
Parameters:
Name |
Type |
Description |
chart |
Tee.Chart
|
The parent chart this font object belongs to. |
Properties:
Name |
Type |
Attributes |
Default |
Description |
style |
String
|
<optional>
|
"11px Tahoma"
|
Font family, size and attributes. |
fill |
Color
|
<optional>
|
"black"
|
Color used to fill texts using this font. |
shadow |
Tee.Shadow
|
|
|
Attributes to fill a shadow behind text. |
stroke |
Tee.Stroke
|
|
|
Attributes to draw an outline around text. |
textAlign |
String
|
<optional>
|
"center"
|
Defines to draw text at left, right or center inside container. |
- Source:
Methods
getSize() → {Number}
- Source:
Returns:
Returns the size of font, or 20 if it can't be guessed.
-
Type
-
Number