Editar

Compartir a través de


SKImageInfo Constructors

Definition

Overloads

SKImageInfo(Int32, Int32)

Creates a new SKImageInfo with the specified width and height.

SKImageInfo(Int32, Int32, SKColorType)

Creates a new SKImageInfo with the specified width, height and color type.

SKImageInfo(Int32, Int32, SKColorType, SKAlphaType)

Creates a new SKImageInfo with the specified width, height, color type and transparency type.

SKImageInfo(Int32, Int32, SKColorType, SKAlphaType, SKColorSpace)

Creates a new SKImageInfo with the specified width, height, color type, transparency type and color space.

SKImageInfo(Int32, Int32)

Creates a new SKImageInfo with the specified width and height.

public SKImageInfo (int width, int height);

Parameters

width
Int32

The width.

height
Int32

The height.

Applies to

SKImageInfo(Int32, Int32, SKColorType)

Creates a new SKImageInfo with the specified width, height and color type.

public SKImageInfo (int width, int height, SkiaSharp.SKColorType colorType);

Parameters

width
Int32

The width.

height
Int32

The height.

colorType
SKColorType

The color type.

Applies to

SKImageInfo(Int32, Int32, SKColorType, SKAlphaType)

Creates a new SKImageInfo with the specified width, height, color type and transparency type.

public SKImageInfo (int width, int height, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alphaType);

Parameters

width
Int32

The width.

height
Int32

The height.

colorType
SKColorType

The color type.

alphaType
SKAlphaType

The alpha/transparency type.

Applies to

SKImageInfo(Int32, Int32, SKColorType, SKAlphaType, SKColorSpace)

Creates a new SKImageInfo with the specified width, height, color type, transparency type and color space.

public SKImageInfo (int width, int height, SkiaSharp.SKColorType colorType, SkiaSharp.SKAlphaType alphaType, SkiaSharp.SKColorSpace colorspace);

Parameters

width
Int32

The width.

height
Int32

The height.

colorType
SKColorType

The color type.

alphaType
SKAlphaType

The alpha/transparency type.

colorspace
SKColorSpace

The color space.

Applies to