This documentation is for the old version. Go to the latest Graphics Mill docs

Transparentize Constructor (Color, Single)

Creates and initializes Transparentize class instance. You can set all transparentize parameters here.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	transparentColor As Color, _
	tolerance As Single _
)
C#
public Transparentize(
	Color transparentColor,
	float tolerance
)

Parameters

transparentColor

Type: Aurigma.GraphicsMill.Color

Color value specifying a color to transparentize. You can change it later using TransparentColor property.
tolerance

Type: System.Single

Value in range [0, 1] specifying admissible tolerance (distance between colors in color space) when comparing current color and transparent color. Minimum value (0) means exact match of the colors, maximum value (1) means that any color matches. You can change it later using Tolerance property.

See Also

Reference