SKColorSpace.CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) 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 instance of SKColorSpace from a transfer function and transformation matrix.
public static SkiaSharp.SKColorSpace CreateRgb(SkiaSharp.SKColorSpaceTransferFn transferFn, SkiaSharp.SKColorSpaceXyz toXyzD50);
Parameters
- transferFn
- SKColorSpaceTransferFn
The transfer function for the color space.
- toXyzD50
- SKColorSpaceXyz
The transformation matrix to XYZ D50.
Returns
A new SKColorSpace, or null if the parameters are invalid.