Table of Contents

Class RuleSegment

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

A stroked segment (used for underline/strikethroughs and borders).

public sealed class RuleSegment : ILayoutPrimitive
Inheritance
RuleSegment
Implements
Inherited Members

Constructors

RuleSegment(Twips, Twips, Twips, Twips, Twips, ColorRgb)

Initializes a stroked segment of no particular kind (Other).

RuleSegment(Twips, Twips, Twips, Twips, Twips, ColorRgb, RuleSegmentKind)

Initializes a stroked segment of a given kind.

Properties

Color

Gets the stroke color.

Kind

Gets what the rule is, which decides how its thickness meets the device grain.

Thickness

Gets the stroke thickness in twips.

X1

Gets the start X in twips.

X2

Gets the end X in twips.

Y1

Gets the start Y in twips.

Y2

Gets the end Y in twips.