編集

次の方法で共有


SKColorSpace Class

Definition

Represents a color space.

public class SKColorSpace : SkiaSharp.SKObject
Inheritance

Properties

GammaIsCloseToSrgb

Gets a value indicating whether or not the color space gamma is near enough to be approximated as sRGB.

GammaIsLinear

Gets a value indicating whether or not the color space gamma is linear.

Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
IsNumericalTransferFunction

Gets a value indicating whether the transfer function can be represented as coefficients to the standard equation.

IsSrgb

Gets a value indicating whether or not the color space is sRGB.

NamedGamma
Obsolete.

Gets the gamma of the color space.

OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)
Type
Obsolete.

Gets the color space type.

Methods

CreateIcc(Byte[], Int64)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(Byte[])

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(IntPtr, Int64)

Creates a new instance of SKColorSpace from an ICC profile.

CreateIcc(ReadOnlySpan<Byte>)
CreateIcc(SKColorSpaceIccProfile)
CreateIcc(SKData)
CreateRgb(SKColorSpaceRenderTargetGamma, SKColorSpaceGamut, SKColorSpaceFlags)
Obsolete.
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(SKColorSpaceRenderTargetGamma, 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(SKColorSpaceTransferFn, SKColorSpaceGamut, SKColorSpaceFlags)
Obsolete.
Obsolete.

Creates a new instance of SKColorSpace from a transfer function 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(SKColorSpaceTransferFn, SKMatrix44)
Obsolete.

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

CreateRgb(SKNamedGamma, SKColorSpaceGamut)
Obsolete.

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

CreateRgb(SKNamedGamma, SKMatrix44)
Obsolete.

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

CreateSrgb()

Creates a new instance of SKColorSpace that represents the sRGB color space.

CreateSrgbLinear()

Creates a new instance of SKColorSpace with the sRGB primaries, but a linear (1.0) gamma

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKColorSpace and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)
DisposeUnownedManaged() (Inherited from SKObject)
Equal(SKColorSpace, SKColorSpace)

Compare two color spaces to determine if they are equivalent.

FromXyzD50()
Obsolete.

Describes color space gamut as a transformation from XYZ D50.

GetNumericalTransferFunction()
GetNumericalTransferFunction(SKColorSpaceTransferFn)

Returns the values of the coefficients to the standard equation.

ToColorSpaceXyz()
ToColorSpaceXyz(SKColorSpaceXyz)
ToLinearGamma()
ToProfile()
ToSrgbGamma()
ToXyzD50()
Obsolete.

Describes color space gamut as a transformation to XYZ D50.

ToXyzD50(SKMatrix44)
Obsolete.

Converts the color space to a XYZ D50 matrix that describes the color space.

Applies to