Upravit

Sdílet prostřednictvím


SKPMColor.UnPreMultiply Method

Definition

Overloads

UnPreMultiply(SKPMColor)

Converts a premultiplied SKPMColor to the unpremultiplied SKColor.

UnPreMultiply(SKPMColor[])

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

UnPreMultiply(SKPMColor)

Converts a premultiplied SKPMColor to the unpremultiplied SKColor.

public static SkiaSharp.SKColor UnPreMultiply (SkiaSharp.SKPMColor pmcolor);

Parameters

pmcolor
SKPMColor

The premultiplied color to convert.

Returns

Returns the new unpremultiplied SKColor.

Applies to

UnPreMultiply(SKPMColor[])

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

public static SkiaSharp.SKColor[] UnPreMultiply (SkiaSharp.SKPMColor[] pmcolors);

Parameters

pmcolors
SKPMColor[]

The premultiplied colors to convert.

Returns

Returns the new array of unpremultiplied SKColors.

Applies to