Table of Contents

Class MathRegion

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

Where an equation was laid out (Phase 165): its box and its baseline. It draws nothing; a consumer that edits or hit-tests equations finds them by it. One per laid-out equation, ahead of the glyphs and rules it draws.

public sealed class MathRegion : ILayoutPrimitive
Inheritance
MathRegion
Implements
Inherited Members

Constructors

MathRegion(Twips, Twips, Twips, Twips, Twips, long, bool)

Initializes a region.

Properties

Baseline

Gets the equation's baseline, from the page's top.

Height

Gets the box's height.

IsDisplay

Gets whether the equation is a display equation.

SourceKey

Gets the node key of the equation drawn, or 0 when sources are not emitted.

Width

Gets the box's width.

X

Gets the box's left.

Y

Gets the box's top.

Methods

WithBounds(Twips, Twips, Twips, Twips, Twips)

The same region at another place: what a turned frame maps it to.