| Package | ardisia.components.graphicsEditor.graphicObjects |
| Class | public class BitmapGraphicObject |
| Inheritance | BitmapGraphicObject GraphicObjectBase spark.components.Group |
Default MXML PropertymxmlContent
| Property | Defined By | ||
|---|---|---|---|
| bitmapData : BitmapData
The BitmapData to display. | BitmapGraphicObject | ||
| bitmapDataDirty : Boolean
Flag to store a copy of the bitmap data when the editor state is
updated. | BitmapGraphicObject | ||
| distortionInProgress : Boolean
Flag that a distortion operation is in progress. | BitmapGraphicObject | ||
| lastClonedBitmapData : BitmapData
Storage for the last bitmap data. | BitmapGraphicObject | ||
![]() | selected : Boolean | GraphicObjectBase | |
| Method | Defined By | ||
|---|---|---|---|
| BitmapGraphicObject | |||
![]() |
Create a clone of the graphic object. | GraphicObjectBase | |
endDistortionSession():void
End a distortion session. | BitmapGraphicObject | ||
startDistortionSession():void
Start a distortion session. | BitmapGraphicObject | ||
updateDistortion(quadrant:String, deltaX:Number, deltaY:Number):void
Update the distortion. | BitmapGraphicObject | ||
| bitmapData | property |
bitmapData:BitmapDataThe BitmapData to display.
The default value is null.
public function get bitmapData():BitmapData public function set bitmapData(value:BitmapData):void| bitmapDataDirty | property |
public var bitmapDataDirty:BooleanFlag to store a copy of the bitmap data when the editor state is updated.
The default value is false.
| distortionInProgress | property |
public var distortionInProgress:BooleanFlag that a distortion operation is in progress.
The default value is false.
| lastClonedBitmapData | property |
lastClonedBitmapData:BitmapDataStorage for the last bitmap data. Useful for redo/undo operations.
The default value is null.
public function get lastClonedBitmapData():BitmapData public function set lastClonedBitmapData(value:BitmapData):void| BitmapGraphicObject | () | Constructor |
public function BitmapGraphicObject()| endDistortionSession | () | method |
public function endDistortionSession():voidEnd a distortion session. Be sure to call this function when finished.
| startDistortionSession | () | method |
public function startDistortionSession():voidStart a distortion session.
| updateDistortion | () | method |
public function updateDistortion(quadrant:String, deltaX:Number, deltaY:Number):voidUpdate the distortion.
Parameters
quadrant:String — String the CompassQuadrant at which the distortion is
occurring
| |
deltaX:Number — Number
| |
deltaY:Number — Number
|