TypeLib Xojo support Plugin |
|
RawBitmap.PixelAlpha Method
Sets or gets the alpha value for pixel at given location

PixelAlpha(
x
as Integer,
y
as Integer)
as UInt8

PixelAlpha(
x
as Integer,
y
as Integer
assigns value
as UInt8)
Parameters
- x
- The x coordinate to set or get (zero based)
- y
- The y coordinate to set or get (zero based)
- value (assignment parameter)
- The alpha value 0 - 255 as its represented in a bitmap (reverse to how Xojo color represents the Alpha)
Returns
- UInt8
- The alpha value when using the getter.
Remarks
If the RawBitmap has no alpha channel then this getter / setter function does nothing.
This method has no meaningful result when using CMYK colorspace.
This method does nothing on 16bit per channel bitmaps.
See Also
RawBitmap Class