SKColorSpace.CreateRgb Method

Definition

Overloads

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut, SKColorSpaceFlags)
Obsolete.
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44, SKColorSpaceFlags)
Obsolete.
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut, SKColorSpaceFlags)
Obsolete.
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKNamedGamma, SKMatrix44)
Obsolete.

Creates a new instance of SKColorSpace from a named gamma and a color gamut.

CreateRgb(SKNamedGamma, SKColorSpaceGamut)
Obsolete.

Creates a new instance of SKColorSpace from a named gamma and a color gamut.

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut)
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz)
CreateRgb(SKColorSpaceTransferFn, SKMatrix44, SKColorSpaceFlags)
Obsolete.
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44)
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut)
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceTransferFn, SKMatrix44)
Obsolete.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut, SKColorSpaceFlags)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut) instead.

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags = SkiaSharp.SKColorSpaceFlags.None);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags);

Parameters

coeffs
SKColorSpaceTransferFn

The coefficients for a common transfer function equation.

gamut
SKColorSpaceGamut

The color gamut.

flags
SKColorSpaceFlags

The optional flags.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44, SKColorSpaceFlags)

Caution

Use CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44) instead.

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags = SkiaSharp.SKColorSpaceFlags.None);
[System.Obsolete("Use CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags);

Parameters

gamma
SKColorSpaceRenderTargetGamma

The gamma transfer function.

toXyzD50
SKMatrix44

The matrix transformation to XYZ D50.

flags
SKColorSpaceFlags

The optional flags.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut, SKColorSpaceFlags)

Caution

Use CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut) instead.

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags = SkiaSharp.SKColorSpaceFlags.None);
[System.Obsolete("Use CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKColorSpaceGamut gamut, SkiaSharp.SKColorSpaceFlags flags);

Parameters

gamma
SKColorSpaceRenderTargetGamma

The gamma transfer function.

gamut
SKColorSpaceGamut

The color gamut.

flags
SKColorSpaceFlags

The optional flags.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKNamedGamma, SKMatrix44)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a named gamma and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKNamedGamma gamma, SkiaSharp.SKMatrix44 toXyzD50);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKNamedGamma gamma, SkiaSharp.SKMatrix44 toXyzD50);

Parameters

gamma
SKNamedGamma

The gamma.

toXyzD50
SKMatrix44

The matrix transformation to XYZ D50.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKNamedGamma, SKColorSpaceGamut)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a named gamma and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKNamedGamma gamma, SkiaSharp.SKColorSpaceGamut gamut);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKNamedGamma gamma, SkiaSharp.SKColorSpaceGamut gamut);

Parameters

gamma
SKNamedGamma

The gamma.

gamut
SKColorSpaceGamut

The color gamut.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceGamut)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKColorSpaceGamut gamut);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKColorSpaceGamut gamut);

Parameters

coeffs
SKColorSpaceTransferFn

The coefficients for a common transfer function equation.

gamut
SKColorSpaceGamut

The color gamut.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz)

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn transferFn, SkiaSharp.SKColorSpaceXyz toXyzD50);

Parameters

toXyzD50
SKColorSpaceXyz

Returns

Applies to

CreateRgb(SKColorSpaceTransferFn, SKMatrix44, SKColorSpaceFlags)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKMatrix44) instead.

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags = SkiaSharp.SKColorSpaceFlags.None);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKMatrix44) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKMatrix44 toXyzD50, SkiaSharp.SKColorSpaceFlags flags);

Parameters

coeffs
SKColorSpaceTransferFn

The coefficients for a common transfer function equation.

toXyzD50
SKMatrix44

The matrix transformation to XYZ D50.

flags
SKColorSpaceFlags

The optional flags.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceRenderTargetGamma, SKMatrix44)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKMatrix44 toXyzD50);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKMatrix44 toXyzD50);

Parameters

gamma
SKColorSpaceRenderTargetGamma

The gamma transfer function.

toXyzD50
SKMatrix44

The matrix transformation to XYZ D50.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKColorSpaceGamut gamut);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceRenderTargetGamma gamma, SkiaSharp.SKColorSpaceGamut gamut);

Parameters

gamma
SKColorSpaceRenderTargetGamma

The gamma transfer function.

gamut
SKColorSpaceGamut

The color gamut.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to

CreateRgb(SKColorSpaceTransferFn, SKMatrix44)

Caution

Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.

Creates a new instance of SKColorSpace from a transfer function and a color gamut.

public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKMatrix44 toXyzD50);
[System.Obsolete("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SkiaSharp.SKColorSpace CreateRgb (SkiaSharp.SKColorSpaceTransferFn coeffs, SkiaSharp.SKMatrix44 toXyzD50);

Parameters

coeffs
SKColorSpaceTransferFn

The coefficients for a common transfer function equation.

toXyzD50
SKMatrix44

The matrix transformation to XYZ D50.

Returns

Returns the new instance of SKColorSpace.

Attributes

Applies to