| Package | com.degrafa.paint |
| Class | public class BitmapFill |
| Inheritance | BitmapFill DegrafaObject |
| Implements | IBlend, IGraphicsFill |
Default MXML Propertysource
| Property | Defined by | ||
|---|---|---|---|
| blendMode : String | BitmapFill | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | 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 | |
| offsetX : Number | BitmapFill | ||
| offsetXUnit : String
The unit of measure corresponding to offsetX.
| BitmapFill | ||
| offsetY : Number | BitmapFill | ||
| offsetYUnit : String
The unit of measure corresponding to offsetY.
| BitmapFill | ||
| originX : Number | BitmapFill | ||
| originY : Number | BitmapFill | ||
| repeatX : String | BitmapFill | ||
| repeatY : String | BitmapFill | ||
| rotation : Number | BitmapFill | ||
| scaleX : Number | BitmapFill | ||
| scaleY : Number | BitmapFill | ||
| smooth : Boolean | BitmapFill | ||
| source : Object
The source used for the bitmap fill.
| BitmapFill | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
|
BitmapFill(source:Object = null)
| BitmapFill | ||
![]() |
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
| BitmapFill | ||
![]() |
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
| BitmapFill | ||
![]() |
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 | |
| Constant | Defined by | ||
|---|---|---|---|
| NONE : String = "none" [static]
| BitmapFill | ||
| REPEAT : String = "repeat" [static]
| BitmapFill | ||
| SPACE : String = "space" [static]
| BitmapFill | ||
| STRETCH : String = "stretch" [static]
| BitmapFill | ||
| blendMode | property |
blendMode:String [read-write]This property can be used as the source for data binding.
Implementation public function get blendMode():String
public function set blendMode(value:String):void
| offsetX | property |
offsetX:Number [read-write]This property can be used as the source for data binding.
Implementation public function get offsetX():Number
public function set offsetX(value:Number):void
| offsetXUnit | property |
offsetXUnit:String [read-write]The unit of measure corresponding to offsetX.
This property can be used as the source for data binding.
Implementation public function get offsetXUnit():String
public function set offsetXUnit(value:String):void
| offsetY | property |
offsetY:Number [read-write]This property can be used as the source for data binding.
Implementation public function get offsetY():Number
public function set offsetY(value:Number):void
| offsetYUnit | property |
offsetYUnit:String [read-write]The unit of measure corresponding to offsetY.
This property can be used as the source for data binding.
Implementation public function get offsetYUnit():String
public function set offsetYUnit(value:String):void
| originX | property |
originX:Number [read-write]This property can be used as the source for data binding.
Implementation public function get originX():Number
public function set originX(value:Number):void
| originY | property |
originY:Number [read-write]This property can be used as the source for data binding.
Implementation public function get originY():Number
public function set originY(value:Number):void
| repeatX | property |
repeatX:String [read-write]This property can be used as the source for data binding.
Implementation public function get repeatX():String
public function set repeatX(value:String):void
| repeatY | property |
repeatY:String [read-write]This property can be used as the source for data binding.
Implementation public function get repeatY():String
public function set repeatY(value:String):void
| rotation | property |
rotation:Number [read-write]This property can be used as the source for data binding.
Implementation public function get rotation():Number
public function set rotation(value:Number):void
| scaleX | property |
scaleX:Number [read-write]This property can be used as the source for data binding.
Implementation public function get scaleX():Number
public function set scaleX(value:Number):void
| scaleY | property |
scaleY:Number [read-write]This property can be used as the source for data binding.
Implementation public function get scaleY():Number
public function set scaleY(value:Number):void
| smooth | property |
smooth:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get smooth():Boolean
public function set smooth(value:Boolean):void
| source | property |
source:Object [read-write]The source used for the bitmap fill. The fill can render from various graphical sources, including the following: A Bitmap or BitmapData instance. A class representing a subclass of DisplayObject. The BitmapFill instantiates the class and creates a bitmap rendering of it. An instance of a DisplayObject. The BitmapFill copies it into a Bitmap for filling. The name of a subclass of DisplayObject. The BitmapFill loads the class, instantiates it, and creates a bitmap rendering of it.
This property can be used as the source for data binding.
Implementation public function get source():Object
public function set source(value:Object):void
| BitmapFill | () | constructor |
public function BitmapFill(source:Object = null)Parameters
source:Object (default = null) |
| begin | () | method |
public function begin(graphics:Graphics, rectangle:Rectangle):voidParameters
graphics:Graphics |
|
rectangle:Rectangle |
| end | () | method |
public function end(graphics:Graphics):voidParameters
graphics:Graphics |
| NONE | constant |
public static const NONE:String = "none"
| REPEAT | constant |
public static const REPEAT:String = "repeat"
| SPACE | constant |
public static const SPACE:String = "space"
| STRETCH | constant |
public static const STRETCH:String = "stretch"