Share via


SpriteFont Members

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

Public Properties

Name Description
Public Property LineSpacing Gets the height of a line using these font characters.
Public Property Spacing Gets or sets the spacing of the font 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 MeasureString Returns the height and width of a given string as a Vector2.
Public Method ReferenceEquals (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

SpriteFont Class
Microsoft.Xna.Framework.Graphics Namespace