SKColorSpace.ToColorSpaceXyz 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.
Overloads
| Name | Description |
|---|---|
| ToColorSpaceXyz() |
Returns the XYZ D50 transformation matrix for this color space. |
| ToColorSpaceXyz(SKColorSpaceXyz) |
Attempts to get the XYZ D50 transformation matrix for this color space. |
ToColorSpaceXyz()
Returns the XYZ D50 transformation matrix for this color space.
public SkiaSharp.SKColorSpaceXyz ToColorSpaceXyz();
Returns
The SKColorSpaceXyz, or Empty if the transformation cannot be computed.
Applies to
ToColorSpaceXyz(SKColorSpaceXyz)
Attempts to get the XYZ D50 transformation matrix for this color space.
public bool ToColorSpaceXyz(out SkiaSharp.SKColorSpaceXyz toXyzD50);
Parameters
- toXyzD50
- SKColorSpaceXyz
When this method returns, contains the XYZ D50 transformation matrix.
Returns
true if the transformation matrix was retrieved successfully; otherwise, false.