Table of Contents

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

short

Width

The total advance width of all glyphs in the cluster.

public float Width

Field Value

float

Properties

CanWrapLineAfter

Indicates whether a line can be broken right after the cluster.

public bool CanWrapLineAfter { get; set; }

Property Value

bool

IsNewline

Indicates whether the cluster corresponds to a newline character.

public bool IsNewline { get; set; }

Property Value

bool

IsRightToLeft

Indicates whether the cluster is read from right to left.

public bool IsRightToLeft { get; set; }

Property Value

bool

IsSoftHyphen

Indicates whether the cluster corresponds to a soft hyphen character.

public bool IsSoftHyphen { get; set; }

Property Value

bool

IsWhitespace

Indicates whether the cluster corresponds to a whitespace character.

public bool IsWhitespace { get; set; }

Property Value

bool