IShapeMask

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

Properties

Geometry

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

RowCount

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

Rows

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

SampleCount

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

Samples

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

Indexers

this[]

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