| Package | org.openPyro.painters |
| Class | public class StripesPainter |
| Implements | IPainter |
| Property | Defined by | ||
|---|---|---|---|
| padding : Padding
| StripesPainter | ||
| stripeWidth : Number
Sets the width of the stripe that will be painted
on the graphics context
| StripesPainter | ||
| Method | Defined 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 | ||
| padding | property |
padding:Padding [read-write]Implementation
public function get padding():Padding
public function set padding(value:Padding):void
| stripeWidth | property |
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
| StripesPainter | () | constructor |
public function StripesPainter(stripeWidth:Number = 10)constructor
ParametersstripeWidth:Number (default = 10) |
| draw | () | method |
public function draw(gr:Graphics, w:Number, h:Number):voidPaints the graphics context with Stripes of width specified by the stripeWidth property
Parametersgr:Graphics |
|
w:Number |
|
h:Number |
See also