Edit

SKColorSpace.CreateCicp Method

Definition

Creates a new color space from the specified CICP color primaries and transfer function.

public static SkiaSharp.SKColorSpace CreateCicp(SkiaSharp.SKColorspacePrimariesCicp colorPrimaries, SkiaSharp.SKColorspaceTransferFnCicp transferCharacteristics);

Parameters

colorPrimaries
SKColorspacePrimariesCicp

One of the enumeration values that specifies the CICP color primaries.

transferCharacteristics
SKColorspaceTransferFnCicp

One of the enumeration values that specifies the CICP transfer function.

Returns

A new SKColorSpace, or null if the specified CICP parameters do not define a supported color space.

Applies to