Struct CaretMetrics
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
The CaretMetrics structure specifies the metrics for caret placement in a font.
public struct CaretMetrics
- Inherited Members
Fields
Offset
Horizontal offset of the caret, in font design units, along the baseline for good appearance. Offset = 0 for perfectly upright fonts (non-italic).
public short Offset
Field Value
SlopeRise
Vertical rise of the caret in font design units. Rise / Run yields the caret angle. Rise = 1 for perfectly upright fonts (non-italic).
public short SlopeRise
Field Value
SlopeRun
Horizontal run of the caret in font design units. Rise / Run yields the caret angle. Run = 0 for perfectly upright fonts (non-italic).
public short SlopeRun