IShapeMask

References
public interface IShapeMask
Provides the core interface for all shape masks used in imaging filters and effects.

Properties

Geometry

#
Gets the geometry of this mask.
ShapeMaskGeometry Geometry { get; }

RowCount

#
Gets the number of distinct rows in this mask.
int RowCount { get; }

Rows

#
Enumerate over all rows in the mask.
IEnumerable<MaskRow> Rows { get; }

SampleCount

#
Gets the area (number of samples) of this mask.
int SampleCount { get; }

Samples

#
Enumerate over all sample offsets.
IEnumerable<Point> Samples { get; }

Indexers

this[]

#
Gets the row at the given index.
MaskRow this[
index
Row index, must be strictly less than RowCount.
] { get; }
Row at given index.