Packageorg.openPyro.painters
Interfacepublic interface IPainter
ImplementorsCompositePainter, FillPainter, GradientFillPainter, StripesPainter, StrokePainter, TrianglePainter

Painters are classes that can draw things on the graphics context of any DisplayObject.



Public Properties
 PropertyDefined by
  padding : Padding
The padding to be applied to the painter.
IPainter
Public Methods
 MethodDefined by
  
draw(gr:Graphics, w:Number, h:Number):void
Paints the graphics context of the DisplayObject
IPainter
Property detail
paddingproperty
padding:Padding  [read-write]

The padding to be applied to the painter. Painters will paint only within the area defined inside the padded area

Implementation
    public function get padding():Padding
    public function set padding(value:Padding):void
Method detail
draw()method
public function draw(gr:Graphics, w:Number, h:Number):void

Paints the graphics context of the DisplayObject

Parameters
gr:Graphics
 
w:Number
 
h:Number