SkiaExtensions.ToColorType(GRPixelConfig) Method

Definition

Caution

Use SKColorType instead.

Converts a GRPixelConfig to an equivalent SKColorType, if possible.

public static SkiaSharp.SKColorType ToColorType (this SkiaSharp.GRPixelConfig config);
[System.Obsolete("Use SKColorType instead.")]
public static SkiaSharp.SKColorType ToColorType (this SkiaSharp.GRPixelConfig config);

Parameters

config
GRPixelConfig

The GRPixelConfig to convert.

Returns

Returns the equivalent SKColorType, or Unknown if there is none.

Attributes

Applies to