cohtml.Net.UserFontDescription.CharInfo
Struct representing data for individual char.
Inherits from SystemIDisposable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| CharInfo() |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| uint | CharCode UTF32 char code. |
| float | X X position in the texture. Texture normalized space [0, 1]. |
| float | Y Y position in the texture. Texture normalized space [0, 1]. |
| float | Width Width of the char in the texture. Texture normalized space [0, 1]. |
| float | Height Height of the char in the texture. Texture normalized space [0, 1]. |
| float | OffsetX Offset in x direction, relative to the top left corner of the glyph image, applied to drawing position. In pixels according to the Size of the font. |
| float | OffsetY Offset in y direction, relative to the top left corner of the glyph image, applied to drawing position. In pixels according to the Size of the font. |
| float | Advance Amount of pixels to advance after drawing the glyph, according to the Size of the font. |
| uint | ImageIndex Zero based index of the image this glyph resides in. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function CharInfo
Section titled “function CharInfo”CharInfo()Public Property Documentation
Section titled “Public Property Documentation”property CharCode
Section titled “property CharCode”uint CharCode;UTF32 char code.
property X
Section titled “property X”float X;X position in the texture. Texture normalized space [0, 1].
property Y
Section titled “property Y”float Y;Y position in the texture. Texture normalized space [0, 1].
property Width
Section titled “property Width”float Width;Width of the char in the texture. Texture normalized space [0, 1].
property Height
Section titled “property Height”float Height;Height of the char in the texture. Texture normalized space [0, 1].
property OffsetX
Section titled “property OffsetX”float OffsetX;Offset in x direction, relative to the top left corner of the glyph image, applied to drawing position. In pixels according to the Size of the font.
property OffsetY
Section titled “property OffsetY”float OffsetY;Offset in y direction, relative to the top left corner of the glyph image, applied to drawing position. In pixels according to the Size of the font.
property Advance
Section titled “property Advance”float Advance;Amount of pixels to advance after drawing the glyph, according to the Size of the font.
property ImageIndex
Section titled “property ImageIndex”uint ImageIndex;Zero based index of the image this glyph resides in.
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.