Editar

Compartilhar via


SKBitmap.CanCopyTo(SKColorType) Method

Definition

Returns true if this bitmap's pixels can be converted into the requested color type, such that Copy() or CopyTo(SKBitmap) could succeed.

public bool CanCopyTo (SkiaSharp.SKColorType colorType);

Parameters

colorType
SKColorType

The color type to check with.

Returns

Returns true if this bitmap's pixels can be converted into the requested color type.

Applies to