Package | frocessing.bmp |
Class | public class FImageLoader |
Inheritance | FImageLoader FImage FBitmapData Object |
Implements | IObjectLoader |
Property | Defined By | ||
---|---|---|---|
bgcolor : uint = 0x00000000 | FImageLoader | ||
bitmapData : BitmapData [read-only] | FBitmapData | ||
height : int [read-only] | FBitmapData | ||
rect : Rectangle [read-only] | FBitmapData | ||
smooth : Boolean = false | FImageLoader | ||
status : int [read-only]
load status. | FImageLoader | ||
success : Boolean [read-only]
load completed. | FImageLoader | ||
transparent : Boolean [read-only] | FBitmapData | ||
width : int [read-only] | FBitmapData |
Method | Defined By | ||
---|---|---|---|
FImageLoader(url:String, loader:Loader = null, callback:Function = null, bitmapData:BitmapData = null)
FImage Loader. | FImageLoader | ||
alpha(value:Number):void
alpha bitmapData. | FImage | ||
dispose():void | FBitmapData | ||
draw(source:IBitmapDrawable, matrix:Matrix = null, colorTransform:ColorTransform = null, blendMode:String = null, clipRect:Rectangle = null, smoothing:Boolean = false):void | FBitmapData | ||
drawPixel32(x:int, y:int, color:uint):void | FBitmapData | ||
fillRect(rect:Rectangle, color:uint):void | FBitmapData | ||
getColor(x:Number, y:Number, normal:Boolean = true, alpha:Boolean = false, wrap:Boolean = false):uint
get pixel color
| FImage | ||
getPixel(x:int, y:int):uint | FBitmapData | ||
getPixel32(x:int, y:int):uint | FBitmapData | ||
lock():void | FBitmapData | ||
mask(src:IBitmapDrawable, channel:uint = 8, alphaBlend:Boolean = true):void
mask bitmapData. | FImage | ||
setPixel(x:int, y:int, color:uint):void | FBitmapData | ||
setPixel32(x:int, y:int, color:uint):void | FBitmapData | ||
setSize(width:int, height:int, align:String = null, scaleMode:String = null, transparent:Boolean = true, bgcolor:uint = 0, smooth:Boolean = true):void
re size bitmapdata. | FImage | ||
slice(left:Number, top:Number, width:Number, height:Number):BitmapData
slice bitmapData by rectangle. | FImage | ||
split(split_x_num:uint = 1, split_y_num:uint = 1):Array
split bitmapData by grid. | FImage | ||
toImage(dobj:DisplayObject, width:int = 0, height:int = 0, align:String = null, scaleMode:String = null, transparent:Boolean = true, bgcolor:uint = 0xff000000):BitmapData [static]
DisplayObject を BitmapDataに変換します. | FImage | ||
unlock(changeRect:Rectangle = null):void | FBitmapData | ||
valueOf():BitmapData | FImage |
bgcolor | property |
public var bgcolor:uint = 0x00000000
smooth | property |
public var smooth:Boolean = false
status | property |
status:int
[read-only] load status. 0:loading, 1:complete, -1:error
public function get status():int
success | property |
success:Boolean
[read-only] load completed.
public function get success():Boolean
FImageLoader | () | Constructor |
public function FImageLoader(url:String, loader:Loader = null, callback:Function = null, bitmapData:BitmapData = null)
FImage Loader.
Parametersurl:String | |
loader:Loader (default = null )
| |
callback:Function (default = null )
| |
bitmapData:BitmapData (default = null )
|