Share via


SpriteFont.LineSpacing Property

Gets the height of a line using these font characters.

This is the number of pixels that the cursor moves down before starting the next line.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int LineSpacing { get; }

Property Value

The height of one line, in pixels.

See Also

Reference

SpriteFont Class
SpriteFont Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista