Upravit

Sdílet prostřednictvím


SKImage.FromPicture Method

Definition

Overloads

FromPicture(SKPicture, SKSizeI)

Creates a new image from the provided SKPicture.

FromPicture(SKPicture, SKSizeI, SKMatrix)

Creates a new image from the provided SKPicture.

FromPicture(SKPicture, SKSizeI, SKPaint)

Creates a new image from the provided SKPicture.

FromPicture(SKPicture, SKSizeI, SKMatrix, SKPaint)

Creates a new image from the provided SKPicture.

FromPicture(SKPicture, SKSizeI)

Creates a new image from the provided SKPicture.

public static SkiaSharp.SKImage FromPicture (SkiaSharp.SKPicture picture, SkiaSharp.SKSizeI dimensions);

Parameters

picture
SKPicture

The picture.

dimensions
SKSizeI

The size of the raster image.

Returns

An image whose contents is the picture.

Applies to

FromPicture(SKPicture, SKSizeI, SKMatrix)

Creates a new image from the provided SKPicture.

public static SkiaSharp.SKImage FromPicture (SkiaSharp.SKPicture picture, SkiaSharp.SKSizeI dimensions, SkiaSharp.SKMatrix matrix);

Parameters

picture
SKPicture

The picture.

dimensions
SKSizeI

The size of the raster image.

matrix
SKMatrix

The matrix to use when reading the image.

Returns

An image whose contents is the picture.

Applies to

FromPicture(SKPicture, SKSizeI, SKPaint)

Creates a new image from the provided SKPicture.

public static SkiaSharp.SKImage FromPicture (SkiaSharp.SKPicture picture, SkiaSharp.SKSizeI dimensions, SkiaSharp.SKPaint paint);

Parameters

picture
SKPicture

The picture.

dimensions
SKSizeI

The size of the raster image.

paint
SKPaint

The paint to use when reading the image.

Returns

An image whose contents is the picture.

Applies to

FromPicture(SKPicture, SKSizeI, SKMatrix, SKPaint)

Creates a new image from the provided SKPicture.

public static SkiaSharp.SKImage FromPicture (SkiaSharp.SKPicture picture, SkiaSharp.SKSizeI dimensions, SkiaSharp.SKMatrix matrix, SkiaSharp.SKPaint paint);

Parameters

picture
SKPicture

The picture.

dimensions
SKSizeI

The size of the raster image.

matrix
SKMatrix

The matrix to use when reading the image.

paint
SKPaint

The paint to use when reading the image.

Returns

An image whose contents is the picture.

Applies to