Packagestimulsoft.base.context
Classpublic class StiContextPainter
InheritanceStiContextPainter Inheritance Object



Public Methods
 MethodDefined By
  
StiContextPainter
  
createShadowGraphics(isPrinting:Boolean, zoom:Number):StiContext
StiContextPainter
  
StiContextPainter
  
StiContextPainter
  
StiContextPainter
  
StiContextPainter
  
measureRotatedString2(text:String, font:StiFontGeom, rect:StiRectangle, sf:StiStringFormatGeom, mode:int, angle:Number):StiRectangle
StiContextPainter
  
measureRotatedString3(text:String, font:StiFontGeom, point:StiPoint, sf:StiStringFormatGeom, mode:int, angle:Number, maximalWidth:int):StiRectangle
StiContextPainter
  
measureRotatedString4(text:String, font:StiFontGeom, point:StiPoint, sf:StiStringFormatGeom, mode:int, angle:Number):StiRectangle
StiContextPainter
  
measureString(text:String, font:StiFontGeom):StiSize
StiContextPainter
  
measureString2(text:String, font:StiFontGeom, width:int, sf:StiStringFormatGeom):StiSize
StiContextPainter
  
render(rect:StiRectangle, geoms:Vector.<StiGeom>):void
StiContextPainter
Constructor Detail
StiContextPainter()Constructor
public function StiContextPainter(graphics:StiGraphics)



Parameters
graphics:StiGraphics
Method Detail
createShadowGraphics()method
public function createShadowGraphics(isPrinting:Boolean, zoom:Number):StiContext

Parameters

isPrinting:Boolean
 
zoom:Number

Returns
StiContext
getDefaultStringFormat()method 
public function getDefaultStringFormat():StiStringFormatGeom

Returns
StiStringFormatGeom
getGenericStringFormat()method 
public function getGenericStringFormat():StiStringFormatGeom

Returns
StiStringFormatGeom
getPathBounds()method 
public function getPathBounds(geoms:Vector.<StiSegmentGeom>):StiRectangle

Parameters

geoms:Vector.<StiSegmentGeom>

Returns
StiRectangle
measureRotatedString()method 
public function measureRotatedString(text:String, font:StiFontGeom, rect:StiRectangle, sf:StiStringFormatGeom, angle:Number):StiRectangle

Parameters

text:String
 
font:StiFontGeom
 
rect:StiRectangle
 
sf:StiStringFormatGeom
 
angle:Number

Returns
StiRectangle
measureRotatedString2()method 
public function measureRotatedString2(text:String, font:StiFontGeom, rect:StiRectangle, sf:StiStringFormatGeom, mode:int, angle:Number):StiRectangle

Parameters

text:String
 
font:StiFontGeom
 
rect:StiRectangle
 
sf:StiStringFormatGeom
 
mode:int
 
angle:Number

Returns
StiRectangle
measureRotatedString3()method 
public function measureRotatedString3(text:String, font:StiFontGeom, point:StiPoint, sf:StiStringFormatGeom, mode:int, angle:Number, maximalWidth:int):StiRectangle

Parameters

text:String
 
font:StiFontGeom
 
point:StiPoint
 
sf:StiStringFormatGeom
 
mode:int
 
angle:Number
 
maximalWidth:int

Returns
StiRectangle
measureRotatedString4()method 
public function measureRotatedString4(text:String, font:StiFontGeom, point:StiPoint, sf:StiStringFormatGeom, mode:int, angle:Number):StiRectangle

Parameters

text:String
 
font:StiFontGeom
 
point:StiPoint
 
sf:StiStringFormatGeom
 
mode:int
 
angle:Number

Returns
StiRectangle
measureString()method 
public function measureString(text:String, font:StiFontGeom):StiSize

Parameters

text:String
 
font:StiFontGeom

Returns
StiSize
measureString2()method 
public function measureString2(text:String, font:StiFontGeom, width:int, sf:StiStringFormatGeom):StiSize

Parameters

text:String
 
font:StiFontGeom
 
width:int
 
sf:StiStringFormatGeom

Returns
StiSize
render()method 
public function render(rect:StiRectangle, geoms:Vector.<StiGeom>):void

Parameters

rect:StiRectangle
 
geoms:Vector.<StiGeom>