| Package | com.degrafa.paint |
| Class | public class BlendFill |
| Inheritance | BlendFill DegrafaObject |
| Implements | IBlend, IGraphicsFill |
Default MXML Propertyfill
| Property | Defined by | ||
|---|---|---|---|
| blendMode : String
The blendMode used to render this layer in a ComplexFill.
| BlendFill | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
| fill : IFill
The IFill which this BlendFill wraps.
| BlendFill | ||
![]() | 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 | |
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
|
BlendFill(fill:IFill = null, blendMode:String = "normal")
| BlendFill | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
|
begin(graphics:Graphics, rectangle:Rectangle):void
| BlendFill | ||
![]() |
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
| BlendFill | ||
![]() |
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 | |
![]() |
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]The blendMode used to render this layer in a ComplexFill. You may use any constant provided in the flash.display.BlendMode class.
This property can be used as the source for data binding.
Implementation public function get blendMode():String
public function set blendMode(value:String):void
| fill | property |
fill:IFill [read-write]The IFill which this BlendFill wraps.
This property can be used as the source for data binding.
Implementation public function get fill():IFill
public function set fill(value:IFill):void
| BlendFill | () | constructor |
public function BlendFill(fill:IFill = null, blendMode:String = "normal")Parameters
fill:IFill (default = null) |
|
blendMode:String (default = "normal") |
| begin | () | method |
public function begin(graphics:Graphics, rectangle:Rectangle):voidParameters
graphics:Graphics |
|
rectangle:Rectangle |
| end | () | method |
public function end(graphics:Graphics):voidParameters
graphics:Graphics |