Méthode | Description | |
---|---|---|
Font ( |
Construct the font from another font
|
|
Font ( Stream stream ) : System |
Construct the font from a custom stream
|
|
Font ( byte bytes ) : System |
Construct the font from a file in memory
|
|
Font ( string filename ) : System |
Construct the font from a file
|
|
GetGlyph ( uint codePoint, uint characterSize, bool bold, float outlineThickness ) : |
Get a glyph in the font
|
|
GetInfo ( ) : Info |
Get the font information
|
|
GetKerning ( uint first, uint second, uint characterSize ) : float |
Get the kerning offset between two glyphs
|
|
GetLineSpacing ( uint characterSize ) : float |
Get spacing between two consecutive lines
|
|
GetTexture ( uint characterSize ) : |
Get the texture containing the glyphs of a given size
|
|
GetUnderlinePosition ( uint characterSize ) : float |
Get the position of the underline
|
|
GetUnderlineThickness ( uint characterSize ) : float |
Get the thickness of the underline
|
|
ToString ( ) : string |
Provide a string describing the object
|
Méthode | Description | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
Méthode | Description | |
---|---|---|
Font ( |
Internal constructor
|
|
sfFont_copy ( |
||
sfFont_createFromFile ( string Filename ) : |
||
sfFont_createFromMemory ( |
||
sfFont_createFromStream ( |
||
sfFont_destroy ( |
||
sfFont_getGlyph ( |
||
sfFont_getInfo ( |
||
sfFont_getKerning ( |
||
sfFont_getLineSpacing ( |
||
sfFont_getTexture ( |
||
sfFont_getUnderlinePosition ( |
||
sfFont_getUnderlineThickness ( |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call? |
Résultat | void |
public Font ( Stream stream ) : System | ||
stream | Stream | Source stream to read from |
Résultat | System |
public Font ( byte bytes ) : System | ||
bytes | byte | Byte array containing the file contents |
Résultat | System |
public Font ( string filename ) : System | ||
filename | string | Font file to load |
Résultat | System |
public GetGlyph ( uint codePoint, uint characterSize, bool bold, float outlineThickness ) : |
||
codePoint | uint | Unicode code point of the character to get |
characterSize | uint | Character size |
bold | bool | Retrieve the bold version or the regular one? |
outlineThickness | float | Thickness of outline (when != 0 the glyph will not be filled) |
Résultat |
public GetKerning ( uint first, uint second, uint characterSize ) : float | ||
first | uint | Unicode code point of the first character |
second | uint | Unicode code point of the second character |
characterSize | uint | Character size |
Résultat | float |
public GetLineSpacing ( uint characterSize ) : float | ||
characterSize | uint | Character size |
Résultat | float |
public GetTexture ( uint characterSize ) : |
||
characterSize | uint | Character size |
Résultat |
public GetUnderlinePosition ( uint characterSize ) : float | ||
characterSize | uint | Character size |
Résultat | float |
public GetUnderlineThickness ( uint characterSize ) : float | ||
characterSize | uint | Character size |
Résultat | float |