Struct LineMetrics
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Contains information about a formatted line of text.
public struct LineMetrics
- Inherited Members
Fields
Baseline
The distance from the top of the text line to its baseline.
public float Baseline
Field Value
Height
The height of the text line.
public float Height
Field Value
IsTrimmed
The line is trimmed.
public RawBool IsTrimmed
Field Value
- RawBool
Length
The number of text positions in the text line. This includes any trailing whitespace and newline characters.
public int Length
Field Value
NewlineLength
The number of characters in the newline sequence at the end of the text line. If the count is zero, then the text line was either wrapped or it is the end of the text.
public int NewlineLength
Field Value
TrailingWhitespaceLength
The number of whitespace positions at the end of the text line. Newline sequences are considered whitespace.
public int TrailingWhitespaceLength