SKMask.ComputeTotalImageSize Method

Definition

Calculates the byte size of the mask, taking into account any extra planes (e.g. ThreeD).

public long ComputeTotalImageSize ();
public readonly long ComputeTotalImageSize ();

Returns

Returns the byte size of the mask.

Remarks

If there is an overflow of 32bits, then returns 0.

Applies to