Method | Defined By | ||
---|---|---|---|
drawText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, allowHtmlTags:Boolean, zoom:Number, zoomFactor:Number):void [static] | StiTextGraphics | ||
drawWYSIWYGHtmlText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, zoom:Number, rtl:Boolean):void [static] | StiTextGraphics | ||
drawWYSIWYGText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, allowHtmlTags:Boolean, zoom:Number, rtl:Boolean, fixBarcode:Boolean = false):void [static] | StiTextGraphics | ||
measureString(g:StiGraphics, text:String, font:StiFont, wysiwyg:Boolean = false, maxWidth:Number = -1, wordWrap:Boolean = false, horAlignment:int = 0, allowHtmlTags:Boolean = false, angle:int = 0):StiSize [static] | StiTextGraphics |
drawText | () | method |
public static function drawText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, allowHtmlTags:Boolean, zoom:Number, zoomFactor:Number):void
Parameters
g:StiGraphics | |
text:String | |
rect:StiRectangle | |
font:StiFont | |
color:StiColor | |
horAlignment:int | |
vertAlignment:int | |
wordWrap:Boolean | |
angle:Number | |
isPrinting:Boolean | |
allowHtmlTags:Boolean | |
zoom:Number | |
zoomFactor:Number |
drawWYSIWYGHtmlText | () | method |
public static function drawWYSIWYGHtmlText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, zoom:Number, rtl:Boolean):void
Parameters
g:StiGraphics | |
text:String | |
rect:StiRectangle | |
font:StiFont | |
color:StiColor | |
horAlignment:int | |
vertAlignment:int | |
wordWrap:Boolean | |
angle:Number | |
isPrinting:Boolean | |
zoom:Number | |
rtl:Boolean |
drawWYSIWYGText | () | method |
public static function drawWYSIWYGText(g:StiGraphics, text:String, rect:StiRectangle, font:StiFont, color:StiColor, horAlignment:int, vertAlignment:int, wordWrap:Boolean, angle:Number, isPrinting:Boolean, allowHtmlTags:Boolean, zoom:Number, rtl:Boolean, fixBarcode:Boolean = false):void
Parameters
g:StiGraphics | |
text:String | |
rect:StiRectangle | |
font:StiFont | |
color:StiColor | |
horAlignment:int | |
vertAlignment:int | |
wordWrap:Boolean | |
angle:Number | |
isPrinting:Boolean | |
allowHtmlTags:Boolean | |
zoom:Number | |
rtl:Boolean | |
fixBarcode:Boolean (default = false )
|
measureString | () | method |
public static function measureString(g:StiGraphics, text:String, font:StiFont, wysiwyg:Boolean = false, maxWidth:Number = -1, wordWrap:Boolean = false, horAlignment:int = 0, allowHtmlTags:Boolean = false, angle:int = 0):StiSize
Parameters
g:StiGraphics | |
text:String | |
font:StiFont | |
wysiwyg:Boolean (default = false )
| |
maxWidth:Number (default = -1 )
| |
wordWrap:Boolean (default = false )
| |
horAlignment:int (default = 0 )
| |
allowHtmlTags:Boolean (default = false )
| |
angle:int (default = 0 )
|
StiSize |