次の方法で共有


FontDescription Members

The following tables list the members exposed by the FontDescription type.

Public Constructors

Name Description
Public Method FontDescription Overloaded. Initializes a new instance of FontDescription.

Public Properties

Name Description
Public Property Characters Gets the collection of characters provided by this FontDescription.
Public Property DefaultCharacter Gets or sets the default character for the font.
Public Property FontName Gets or sets the name of the font, such as "Times New Roman" or "Arial". This value cannot be null or empty.
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property Size Gets or sets the size, in points, of the font.
Public Property Spacing Gets or sets the amount of space, in pixels, to insert between letters in a string.
Public Property Style Gets or sets the style of the font, expressed as a combination of one or more FontDescriptionStyle flags.
Public Property UseKerning Indicates if kerning information is used when drawing characters.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

FontDescription Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace