Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

GraphicImage.alphaBlendMode()

Set the alpha channel merge mode

Syntax

GraphicImage = GraphicImage.alphaBlendMode()

Parameters

The 'GraphicImage.alphaBlendMode' method takes no parameters

Results

The 'GraphicImage.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.

Whitebeam release 1.3.36
(loadtime : 22ms)