Table of Contents

Enum OpticalAlignment

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

The optical margin alignment mode.

By default, glyphs are aligned to the margin by the default origin and side-bearings of the glyph. If you specify NoSideBearings, then the alignment uses the side bearings to offset the glyph from the aligned edge to ensure the ink of the glyphs are aligned.

public enum OpticalAlignment

Fields

None = 0

Align to the default origin and side-bearings of the glyph.

NoSideBearings = 1

Align to the ink of the glyphs, such that the black box abuts the margins.