Constructor

inline new (bgra:Int = 0)

Variables

Methods

inline multiplyAlpha ():Void

Available on Flash

inline multiplyAlpha ():Void

Available on Neko, Android, iOS, macOS, Linux, HTML5, Windows

inline readUInt8 (data:UInt8Array, offset:Int, format:PixelFormat = RGBA32, premultiplied:Bool = false):Void

Available on Flash

inline readUInt8 (data:UInt8Array, offset:Int, format:PixelFormat = RGBA32, premultiplied:Bool = false):Void

Available on Neko, Android, iOS, macOS, Linux, HTML5, Windows

inline set (b:Int, g:Int, r:Int, a:Int):Void

Available on Flash

inline set (b:Int, g:Int, r:Int, a:Int):Void

Available on Neko, Android, iOS, macOS, Linux, HTML5, Windows

inline unmultiplyAlpha ():Void

Available on Flash

inline unmultiplyAlpha ():Void

Available on Neko, Android, iOS, macOS, Linux, HTML5, Windows

inline writeUInt8 (data:UInt8Array, offset:Int, format:PixelFormat = RGBA32, premultiplied:Bool = false):Void

Available on Flash

inline writeUInt8 (data:UInt8Array, offset:Int, format:PixelFormat = RGBA32, premultiplied:Bool = false):Void

Available on Neko, Android, iOS, macOS, Linux, HTML5, Windows

Static methods

staticinline create (b:Int, g:Int, r:Int, a:Int):BGRA