Constructor MathSlotRegion
MathSlotRegion(Twips, Twips, Twips, Twips, Twips, Twips, long, IReadOnlyList<int>, IReadOnlyList<MathCaretStop>, bool)
Initializes a region.
public MathSlotRegion(Twips x, Twips y, Twips width, Twips height, Twips baseline, Twips fontSize, long sourceKey, IReadOnlyList<int> path, IReadOnlyList<MathCaretStop> stops, bool isEmpty)
Parameters
xTwipsThe box's left.
yTwipsThe box's top.
widthTwipsThe box's width.
heightTwipsThe box's height.
baselineTwipsThe slot's baseline, from the page's top.
fontSizeTwipsThe size the slot's text is set at.
sourceKeylongThe node key of the equation.
pathIReadOnlyList<int>The slot's path in the equation, as
MathPosition.Pathnames it.stopsIReadOnlyList<MathCaretStop>Where each offset of the slot (or of this piece of it) is, in increasing offset.
isEmptyboolTrue when the slot holds nothing.
Exceptions
- ArgumentNullException
pathorstopsis null.- ArgumentOutOfRangeException
widthorheightis negative.