AlphaBlend

Namespace: WellFired.Guacamole.Drawing

Description

Public Static Methods

Layer.Layer Blend ( Layer.Layer source, Layer.Layer destination )
byte Perform ( byte source, byte destination, byte alpha )

Breakdown

  • Layer.Layer Blend ( Layer.Layer source, Layer.Layer destination )

    Description

    Perform a normal blend on two layers. This algorithm will write the result to the destination Layer. It will also return this layer, so that you can Chain operations.

    Parameters

    source The source layer should be the layer you’re trying to render on top.
    destination The destination layer should be the layer that already exists
  • byte Perform ( byte source, byte destination, byte alpha )

    Description

    Performs a normal Alpha blend.

    Parameters

    source
    destination
    alpha