Cluster

Cluster class

Encapsulates code points and glyphs composing a grapheme.

public class Cluster

Constructors

NameDescription
Cluster(int[], Glyph[])Initializes new instance of this class.

Properties

NameDescription
Codepoints { get; }Gets codepoints of the cluster.
CodepointsLength { get; }Gets total number of codepoints in the Cluster.
Glyphs { get; }Gets glyphs of the cluster.

Methods

NameDescription
DeepClone()Returns a deep clone of this instance.
GetString()Creates String using codepoints from this cluster.
GetWidth(int, float)Returns width of the cluster.
static GetString(Cluster[])Creates String using codepoints from the specified clusters.

See Also