Variables

read onlydepth:Int

read onlyg1:Graphics

read onlyg2:Graphics

read onlyg4:Graphics

read onlyheight:Int

read onlyrealHeight:Int

read onlyrealWidth:Int

read onlywidth:Int

Methods

at (x:Int, y:Int):Color

clear (x:Int, y:Int, z:Int, width:Int, height:Int, depth:Int, color:Color):Void

lock (level:Int = 0):Bytes

Static variables

staticread onlymaxSize:Int

staticread onlynonPow2Supported:Bool

Static methods

staticcreate (width:Int, height:Int, ?format:TextureFormat, ?usage:Usage):Image

staticcreate3D (width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage):Image

staticcreateRenderTarget (width:Int, height:Int, ?format:TextureFormat, depthStencil:DepthStencilFormat = DepthStencilFormat.NoDepthAndStencil, antiAliasingSamples:Int = 1, contextId:Int = 0):Image

staticfromBytes (bytes:Bytes, width:Int, height:Int, ?format:TextureFormat, ?usage:Usage):Image

staticfromBytes3D (bytes:Bytes, width:Int, height:Int, depth:Int, ?format:TextureFormat, ?usage:Usage):Image

staticfromEncodedBytes (bytes:Bytes, fileExtention:String, doneCallback:Image ‑> Void, errorCallback:String ‑> Void, readable:Bool = false):Void

staticfromImage (image:ImageElement, readable:Bool):Image

staticfromVideo (video:Video):Image

staticget_maxSize ():Int