Class PenAlignmentValues
Specifies the alignment of a pen along a path.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class PenAlignmentValues : Enum
Control where an outline stroke sits relative to the glyph edge by setting PenAlignmentValues on TextOutlineEffect.PenAlignment. Center straddles the stroke evenly across the edge so half the width falls inside the letter and half outside, while Inset keeps the whole stroke inside the glyph boundary so the outline never widens the visible shape. The text outline effect how-to shows the outline applied in context.
Fields
Center
The pen is aligned to the center of the path.
Declaration
public const PenAlignmentValues Center
Field Value
| Type | Description |
|---|---|
| PenAlignmentValues |
Inset
The pen is aligned to the inside of the path.
Declaration
public const PenAlignmentValues Inset
Field Value
| Type | Description |
|---|---|
| PenAlignmentValues |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |