| Package | com.degrafa.paint |
| Class | public class ComplexFill |
| Inheritance | ComplexFill DegrafaObject |
| Implements | IBlend, IGraphicsFill, ITransformablePaint |
Default MXML Propertyfills
| Property | Defined by | ||
|---|---|---|---|
| blendMode : String
Blend mode effect to use for this fill.
| ComplexFill | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
| fills : Array
Array of IGraphicsFill Objects to be rendered
| ComplexFill | ||
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | isInitialized : Boolean | DegrafaObject | |
| lastArgs : Array [read-only]
Provide access to the lastArgs array
| ComplexFill | ||
| lastRectangle : Rectangle [read-only]
Provides access to the last rectangle that was relevant for this fill.
| ComplexFill | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
| requester : IGeometryComposition
[write-only]
Reference to the requesting geometry.
| ComplexFill | ||
| restartFunction : Function [read-only]
Provides quick access to a cached function for restarting the last used fill either in the last used context, or, if a context is provided as an argument,
then to an alternate context.
| ComplexFill | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| transform : ITransform
Defines the transform object that will be used for
altering this gradientfill object.
| ComplexFill | ||
| Property | Defined by | ||
|---|---|---|---|
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
| _transform : ITransform | ComplexFill | ||
| Method | Defined by | ||
|---|---|---|---|
|
ComplexFill(fills:Array = null)
| ComplexFill | ||
|
add(value:IFill, target:ComplexFill):void
[static]
Combines an IFill object with the target ComplexFill, merging ComplexFills if necessary.
| ComplexFill | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
|
begin(graphics:Graphics, rc:Rectangle):void
Begins the complex fill.
| ComplexFill | ||
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
| DegrafaObject | |
|
end(graphics:Graphics):void
Ends the complex fill.
| ComplexFill | ||
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
| DegrafaObject | |
|
refresh():void
Refreshs the complex fill.
| ComplexFill | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| DegrafaObject | |
| blendMode | property |
blendMode:String [read-write]Blend mode effect to use for this fill. You may use any constant provided in the flash.display.BlendMode class.
Implementation public function get blendMode():String
public function set blendMode(value:String):void
| fills | property |
fills:Array [read-write]Array of IGraphicsFill Objects to be rendered
Implementation public function get fills():Array
public function set fills(value:Array):void
| lastArgs | property |
lastArgs:Array [read-only]Provide access to the lastArgs array
Implementation public function get lastArgs():Array
| lastRectangle | property |
lastRectangle:Rectangle [read-only]Provides access to the last rectangle that was relevant for this fill.
Implementation public function get lastRectangle():Rectangle
| requester | property |
requester:IGeometryComposition [write-only]Reference to the requesting geometry.
Implementation public function set requester(value:IGeometryComposition):void
| restartFunction | property |
restartFunction:Function [read-only]Provides quick access to a cached function for restarting the last used fill either in the last used context, or, if a context is provided as an argument, then to an alternate context. If no last used context is available then this will do nothing;
Implementation public function get restartFunction():Function
| _transform | property |
protected var _transform:ITransform
| transform | property |
transform:ITransform [read-write]Defines the transform object that will be used for altering this gradientfill object.
Implementation public function get transform():ITransform
public function set transform(value:ITransform):void
| ComplexFill | () | constructor |
public function ComplexFill(fills:Array = null)Parameters
fills:Array (default = null) |
| add | () | method |
public static function add(value:IFill, target:ComplexFill):voidCombines an IFill object with the target ComplexFill, merging ComplexFills if necessary.
Parametersvalue:IFill |
|
target:ComplexFill |
| begin | () | method |
public function begin(graphics:Graphics, rc:Rectangle):voidBegins the complex fill.
Parametersgraphics:Graphics |
|
rc:Rectangle |
| end | () | method |
public function end(graphics:Graphics):voidEnds the complex fill.
Parametersgraphics:Graphics |
| refresh | () | method |
public function refresh():voidRefreshs the complex fill.