blendMode property

  1. @override
BlendMode? blendMode
override

A value from the BlendMode class that specifies which blend mode to use.

The blendMode property affects each pixel of the display object. Each pixel is composed of three constituent colors (red, green, and blue), and each constituent color has a value between 0x00 and 0xFF. StageXL compares each constituent color of one pixel with the corresponding color of the pixel in the background.

Implementation

@override
BlendMode? get blendMode => _blendMode;
void blendMode=(BlendMode? value)

Implementation

set blendMode(BlendMode? value) {
  _blendMode = value;
}