SKCodec.GetValidSubset(SKRectI) Method

Definition

Modifies the specified subset to one that can decoded from this codec.

public bool GetValidSubset (ref SkiaSharp.SKRectI desiredSubset);

Parameters

desiredSubset
SKRectI

The desired subset of the original bounds, which may be modified to a subset which is supported.

Returns

Returns true if this codec supports decoding the desired subset, otherwise false. The final subset can be used with Subset.

Applies to