| Package | com.yworks.util |
| Class | public class CloneableBitmap |
| Inheritance | CloneableBitmap flash.display.Bitmap |
| Implements | ICloneable |
Bitmap implementation which wraps BitmapData into a cloneable Bitmap.
See also
| Method | Defined By | ||
|---|---|---|---|
CloneableBitmap(bitmapData:BitmapData, pixelSnapping:String = auto, smoothing:Boolean = false)
Creates a CloneableBitmap implementation from the given BitmapData. | CloneableBitmap | ||
clone():Object
Creates a clone of this instance. | CloneableBitmap | ||
| CloneableBitmap | () | Constructor |
public function CloneableBitmap(bitmapData:BitmapData, pixelSnapping:String = auto, smoothing:Boolean = false)
Creates a CloneableBitmap implementation from the given BitmapData.
bitmapData:BitmapData — The BitmapData to store in the Bitmap.
| |
pixelSnapping:String (default = auto) — Whether or not the Bitmap object is snapped to the nearest pixel
| |
smoothing:Boolean (default = false) — Whether or not the bitmap is smoothed when scaled.
|
| clone | () | method |
public function clone():ObjectCreates a clone of this instance.
ReturnsObject — A clone of this instance.
|