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

Color.FromAGrayScale64 Method

Returns GrayScaleColor class instance constructed from numeric 64-bit representation of grayscale value with alpha channel.

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

Syntax

Visual Basic
Public Shared Function FromAGrayScale64 ( _
	alphaGrayScale As Long _
) As GrayScaleColor
C#
public static GrayScaleColor FromAGrayScale64(
	long alphaGrayScale
)

Parameters

alphaGrayScale

Type: System.Int64

Numeric representation of the alpha grayscale value (extended).

Return Value

GrayScaleColor class instance constructed from given number.

Remarks

Low word (2 bytes) of this 64-bit value contains intensity level, next word contains alpha value. The rest higher words are ignored. You can also use non-extended version of this method, i.e. FromAGrayScale32(Int32).

See Also

Reference