wrap:Bool
Whether the text is wrapped within the object bounds (default: false)
false
valign:String
Vertical alignment ("center", "bottom" or "top" (default))
"center"
"bottom"
"top"
underline:Bool
Whether to underline the text (default: false)
text:String
Text
strikeout:Bool
Whether to strike out the text (default: false)
pixelsize:Int
Pixel size of font (default: 16)
16
kerning:Bool
Whether to use kerning when placing characters (default: true)
true
italic:Bool
Whether to use an italic font (default: false)
halign:String
Horizontal alignment ("center", "right", "justify" or "left" (default))
"right"
"justify"
"left"
fontfamily:String
Font family (default: sans-serif)
sans-serif
color:String
Hex-formatted color ("#RRGGBB" or "#AARRGGBB") (default: "#000000")
"#RRGGBB"
"#AARRGGBB"
"#000000"
bold:Bool
Whether to use a bold font (default: false)