Blend

The Blend class. If you want that a blendable object get some blend, create an instance of this class and give it to your blendable.

Constructors

this
this(Mode mode)

CTor

this
this(Mode mode, Color col)

CTor

this
this(Mode mode, Color col)

Rvalue version

Members

Enums

Mode
enum Mode

Supported BlendModes

Functions

applyBlending
void applyBlending()

Apply the blending

enable
void enable(bool enable)

Enable or Disable blending

enableColor
void enableColor(bool enable)

Activate or deactivate the using of the blend color.

getBlendColor
const(Color) getBlendColor()

Returns the current Blend Color.

getBlendMode
Mode getBlendMode()

Returns the current Blendmode.

setBlendColor
void setBlendColor(Color col)

Set the Blend Color.

setBlendColor
void setBlendColor(Color col)

Rvalue version

setBlendMode
void setBlendMode(Mode mode)

Set the Blendmode.

Meta

Authors

rschuett