Struct ClusterMetrics
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Contains information about a glyph cluster.
public struct ClusterMetrics
- Inherited Members
Fields
Length
The number of text positions in the cluster.
public short Length
Field Value
Width
The total advance width of all glyphs in the cluster.
public float Width
Field Value
Properties
CanWrapLineAfter
Indicates whether a line can be broken right after the cluster.
public bool CanWrapLineAfter { get; set; }
Property Value
IsNewline
Indicates whether the cluster corresponds to a newline character.
public bool IsNewline { get; set; }
Property Value
IsRightToLeft
Indicates whether the cluster is read from right to left.
public bool IsRightToLeft { get; set; }
Property Value
IsSoftHyphen
Indicates whether the cluster corresponds to a soft hyphen character.
public bool IsSoftHyphen { get; set; }
Property Value
IsWhitespace
Indicates whether the cluster corresponds to a whitespace character.
public bool IsWhitespace { get; set; }