Bearbeiten

Freigeben über


SKImageInfo.WithColorSpace(SKColorSpace) Method

Definition

Creates a new SKImageInfo with the same properties as this SKImageInfo, but with the specified color space.

public SkiaSharp.SKImageInfo WithColorSpace (SkiaSharp.SKColorSpace newColorSpace);
public readonly SkiaSharp.SKImageInfo WithColorSpace (SkiaSharp.SKColorSpace newColorSpace);

Parameters

newColorSpace
SKColorSpace

The color space.

Returns

Returns the new SKImageInfo.

Applies to