Cluster
Cluster class
Encapsulates code points and glyphs composing a grapheme.
Constructors
| Name | Description |
|---|
| Cluster(int[], Glyph[]) | Initializes new instance of this class. |
Properties
| Name | Description |
|---|
| 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
| Name | Description |
|---|
| 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