Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following tables list the members exposed by the FontDescription type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
FontDescription | Overloaded. Initializes a new instance of FontDescription. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Characters | Gets the collection of characters provided by this FontDescription. |
![]() |
DefaultCharacter | Gets or sets the default character for the font. |
![]() |
FontName | Gets or sets the name of the font, such as "Times New Roman" or "Arial". This value cannot be null or empty. |
![]() |
Identity | (Inherited from ContentItem.) |
![]() |
Name | (Inherited from ContentItem.) |
![]() |
OpaqueData | (Inherited from ContentItem.) |
![]() |
Size | Gets or sets the size, in points, of the font. |
![]() |
Spacing | Gets or sets the amount of space, in pixels, to insert between letters in a string. |
![]() |
Style | Gets or sets the style of the font, expressed as a combination of one or more FontDescriptionStyle flags. |
![]() |
UseKerning | Indicates if kerning information is used when drawing characters. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
FontDescription Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace