Struct ClusterMetrics
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Contains information about a glyph cluster.
public readonly struct ClusterMetrics : IEquatable<ClusterMetrics>
- Implements
- Inherited Members
Properties
- CanWrapLineAfter
Indicates whether a line can be broken right after the cluster.
- IsNewline
Indicates whether the cluster corresponds to a newline character.
- IsRightToLeft
Indicates whether the cluster is read from right to left.
- IsSoftHyphen
Indicates whether the cluster corresponds to a soft hyphen character.
- IsWhitespace
Indicates whether the cluster corresponds to a whitespace character.
- Length
The number of text positions in the cluster.
- Width
The total advance width of all glyphs in the cluster.