|
Whitebeam Template Reference Documentation
|
GraphicImage Template
alphaBlendMode()
Set the alpha channel merge mode
Syntax
GraphicImage = rb.GraphicImage.alphaBlendMode()
Parameters
The 'alphaBlendMode' method takes no parameters
Results
The 'alphaBlendMode' method returns GraphicImage:
Type/Value | Range/Length | Description |
GraphicImage |
  |
Returns a reference to 'this'
|
Remarks By default when merging images (which has to happen to copy rectangles/resize images etc) the class
will create a completely opaque target image by merging the colours and transparency of the source
and destination. Calling this method with 'false' will cause the source image to copy all pixels to the destination
(no merging) including alpha channel information. This is generally what's required when
manipulating images such as PNGs with a full alpha channel. |
|
(loadtime : 22ms) |