편집

다음을 통해 공유


SKPMColor.PreMultiply Method

Definition

Overloads

PreMultiply(SKColor)

Converts an unpremultiplied SKColor to a premultiplied SKPMColor.

PreMultiply(SKColor[])

Converts an array of unpremultiplied SKColors to an array of premultiplied SKPMColors.

PreMultiply(SKColor)

Converts an unpremultiplied SKColor to a premultiplied SKPMColor.

public static SkiaSharp.SKPMColor PreMultiply (SkiaSharp.SKColor color);

Parameters

color
SKColor

The unpremultiplied color to convert.

Returns

Returns the new premultiplied SKPMColor.

Applies to

PreMultiply(SKColor[])

Converts an array of unpremultiplied SKColors to an array of premultiplied SKPMColors.

public static SkiaSharp.SKPMColor[] PreMultiply (SkiaSharp.SKColor[] colors);

Parameters

colors
SKColor[]

The unpremultiplied colors to convert.

Returns

Returns the new array of premultiplied SKPMColors.

Applies to