SKColorSpace.CreateCicp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.