BoxMaskReferences public sealed class BoxMask : IShapeMask Show allRepresents a fast integer accurate AABB useful for sampling. AllPropertiesIndexersMethods ObsoleteInherited PropertiesGeometry#public ShapeMaskGeometry Geometry { get; }Gets the geometry of this mask.Implements: GeometryHeight#public int Height { get; }Gets the height of this mask.RowCount#public int RowCount { get; }Gets the number of rows in this mask.Implements: RowCountRows#public IEnumerable<MaskRow> Rows { get; }Enumerate over all rows in the mask.Implements: RowsSampleCount#public int SampleCount { get; }Gets the area (number of samples) of this mask.Implements: SampleCountSamples#public IEnumerable<Point> Samples { get; }Enumerate over all sample offsets.Implements: SamplesWidth#public int Width { get; }Gets the width of this mask.X0#public int X0 { get; }The leftmost X coordinate.Y0#public int Y0 { get; }The topmost Y coordinate.Indexersthis[]#public MaskRow this[int index] { get; }Gets the row at the given index.Parameters:index (int)Row index, must be strictly less than RowCount.Returns: Row at given index.Implements: this[]MethodsCreate#public static BoxMask Create(int width, int height)Create a new box mask.Parameters:width (int)Width of box.height (int)Height of box.Returns: Mask.