Packageorg.openPyro.painters
Classpublic class StripesPainter
ImplementsIPainter

Paints 45 degree inclined stripes on the Graphics context of a DisplayObject



Public Properties
 PropertyDefined by
  padding : Padding
StripesPainter
  stripeWidth : Number
Sets the width of the stripe that will be painted on the graphics context
StripesPainter
Public Methods
 MethodDefined by
  
StripesPainter(stripeWidth:Number = 10)
constructor
StripesPainter
  
draw(gr:Graphics, w:Number, h:Number):void
Paints the graphics context with Stripes of width specified by the stripeWidth property
StripesPainter
Property detail
paddingproperty
padding:Padding  [read-write]

Implementation
    public function get padding():Padding
    public function set padding(value:Padding):void
stripeWidthproperty 
stripeWidth:Number  [read-write]

Sets the width of the stripe that will be painted on the graphics context

Implementation
    public function get stripeWidth():Number
    public function set stripeWidth(value:Number):void
Constructor detail
StripesPainter()constructor
public function StripesPainter(stripeWidth:Number = 10)

constructor

Parameters
stripeWidth:Number (default = 10)
Method detail
draw()method
public function draw(gr:Graphics, w:Number, h:Number):void

Paints the graphics context with Stripes of width specified by the stripeWidth property

Parameters
gr:Graphics
 
w:Number
 
h:Number

See also