SFML.Net
Font Class |
Font is the low-level class for loading and
manipulating character fonts. This class is meant to
be used by String2D
Inheritance Hierarchy
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
The Font type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Font(Byte) |
Construct the font from a file in memory
| |
Font(Stream) |
Construct the font from a custom stream
| |
Font(String) |
Construct the font from a file
| |
Font(Font) |
Construct the font from another font
|
Methods
Name | Description | |
---|---|---|
Destroy |
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).) | |
Dispose |
Explicitely dispose the object
(Inherited from ObjectBase.) | |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Finalize |
Dispose the object
(Inherited from ObjectBase.) | |
GetGlyph |
Get a glyph in the font
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetInfo |
Get the font information
| |
GetKerning |
Get the kerning offset between two glyphs
| |
GetLineSpacing |
Get spacing between two consecutive lines
| |
GetTexture |
Get the texture containing the glyphs of a given size
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetUnderlinePosition |
Get the position of the underline
| |
GetUnderlineThickness |
Get the thickness of the underline
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
Properties
Name | Description | |
---|---|---|
CPointer |
Access to the internal pointer of the object.
For internal use only
(Inherited from ObjectBase.) |
See Also