Font Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Encapsulates the textures and resources needed to render a specific font on a specific device.
The Font type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Font | Overloaded. Initializes a new instance of the Font class. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the Font class. | |
DrawText | Overloaded. Draws formatted text. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MeasureString | Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLostDevice | Releases all references to video memory resources and deletes all state blocks. | |
OnResetDevice | Reinitializes settings after a device is reset. | |
PreloadText | Loads formatted text into video memory to improve the efficiency of rendering to a device. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
Description | Gets a description of the current font object. | |
Device | Gets the device associated with a font object. | |
Disposed | Gets a value that indicates whether the object is disposed. |
Top
Events
Name | Description | |
---|---|---|
Disposing | Occurs when the Dispose method is called or when the Font object is finalized and collected by the garbage collector. |
Top