| Package | com.nocircleno.graffiti.tools |
| Class | public final class FillBucketTool |
| Inheritance | FillBucketTool Object |
| Implements | ITool |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 10 - AIR 1.5 |
| Property | Defined By | ||
|---|---|---|---|
| fillColor : uint | FillBucketTool | ||
| layerType : String [read-only]
Layer to create on. | FillBucketTool | ||
| renderType : String [read-only]
Fill Bucket Render Mode
| FillBucketTool | ||
| smoothStrength : int | FillBucketTool | ||
| useAdvancedFill : Boolean | FillBucketTool | ||
| useEntireCanvas : Boolean | FillBucketTool | ||
| Method | Defined By | ||
|---|---|---|---|
FillBucketTool(fillColor:uint, useEntireCanvas:Boolean = false, useAdvancedFill:Boolean = true, smoothStrength:int = 8)
The FillBucketTool constructor. | FillBucketTool | ||
| fillColor | property |
fillColor:uint [read-write] public function get fillColor():uint public function set fillColor(value:uint):void| layerType | property |
layerType:String [read-only] Layer to create on.
public function get layerType():String| renderType | property |
renderType:String [read-only] Fill Bucket Render Mode
public function get renderType():String| smoothStrength | property |
smoothStrength:int [read-write] public function get smoothStrength():int public function set smoothStrength(value:int):void| useAdvancedFill | property |
useAdvancedFill:Boolean [read-write] public function get useAdvancedFill():Boolean public function set useAdvancedFill(value:Boolean):void| useEntireCanvas | property |
useEntireCanvas:Boolean [read-write] public function get useEntireCanvas():Boolean public function set useEntireCanvas(value:Boolean):void| FillBucketTool | () | Constructor |
public function FillBucketTool(fillColor:uint, useEntireCanvas:Boolean = false, useAdvancedFill:Boolean = true, smoothStrength:int = 8)
The FillBucketTool constructor.
fillColor:uint — Color to fill with. This color should have an alpha value.
| |
useEntireCanvas:Boolean (default = false) — Use underlaid and overlaid display object when filling.
| |
useAdvancedFill:Boolean (default = true) — Apply a smoothing to the fill before applying it to the canvas.
| |
smoothStrength:int (default = 8) — Smoothing setting for advanced fill.
|
// create a fill bucket tool
var fillTool:FillBucketTool = new FillBucketTool(0xFFFF0000, false);