BlendMode

public enum
loom2d.display.BlendMode

Description

An enumeration that defines the supported visual blend mode effects

API overview

Constructor

BlendMode ()

Attributes

Public attributes

ADD: BlendMode static

Adds the values of the colors of the display object to the colors of its background

AUTO: BlendMode static

Inherits the blend mode from this display object's parent

BELOW: BlendMode static

Draws under/below existing objects, based on the alpha of those objects

ERASE: BlendMode static

Clears the area underneath the object to black

MULTIPLY: BlendMode static

Multiplies the values of the display object colors with the the background color

NONE: BlendMode static

Deactivates blending, i.e

NORMAL: BlendMode static

The display object appears in front of the background

SCREEN: BlendMode static

Multiplies the complement (inverse) of the display object color with the complement of the background color, resulting in a bleaching effect

Functions

Public functions

Constructor

BlendMode ()

Attributes

ADD: BlendMode

static

Adds the values of the colors of the display object to the colors of its background.

AUTO: BlendMode

static

Inherits the blend mode from this display object's parent.

BELOW: BlendMode

static

Draws under/below existing objects, based on the alpha of those objects

ERASE: BlendMode

static

Clears the area underneath the object to black.

MULTIPLY: BlendMode

static

Multiplies the values of the display object colors with the the background color.

NONE: BlendMode

static

Deactivates blending, i.e. disabling any transparency.

NORMAL: BlendMode

static

The display object appears in front of the background.

SCREEN: BlendMode

static

Multiplies the complement (inverse) of the display object color with the complement of the background color, resulting in a bleaching effect.

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: