C# Class FlatRedBall.Graphics.BitmapCharacterInfo

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
DistanceFromTopOfLine float
PageNumber int
ScaleX float
ScaleY float
SecondLetterKearning int>.Dictionary
Spacing float
TULeft float
TURight float
TVBottom float
TVTop float
XOffset float

Public Methods

Method Description
GetPixelBottom ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelDistanceFromTop ( int lineHeightInPixels ) : int
GetPixelHeight ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelLeft ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelRight ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelTop ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelWidth ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
GetPixelXOffset ( int lineHeightInPixels ) : int
GetXAdvanceInPixels ( int lineHeightInPixels ) : int
ToString ( ) : string

Method Details

GetPixelBottom() public method

public GetPixelBottom ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelDistanceFromTop() public method

public GetPixelDistanceFromTop ( int lineHeightInPixels ) : int
lineHeightInPixels int
return int

GetPixelHeight() public method

public GetPixelHeight ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelLeft() public method

public GetPixelLeft ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelRight() public method

public GetPixelRight ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelTop() public method

public GetPixelTop ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelWidth() public method

public GetPixelWidth ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : int
texture Microsoft.Xna.Framework.Graphics.Texture2D
return int

GetPixelXOffset() public method

public GetPixelXOffset ( int lineHeightInPixels ) : int
lineHeightInPixels int
return int

GetXAdvanceInPixels() public method

public GetXAdvanceInPixels ( int lineHeightInPixels ) : int
lineHeightInPixels int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

DistanceFromTopOfLine public property

public float DistanceFromTopOfLine
return float

PageNumber public property

public int PageNumber
return int

ScaleX public property

public float ScaleX
return float

ScaleY public property

public float ScaleY
return float

SecondLetterKearning public property

public Dictionary SecondLetterKearning
return int>.Dictionary

Spacing public property

public float Spacing
return float

TULeft public property

public float TULeft
return float

TURight public property

public float TURight
return float

TVBottom public property

public float TVBottom
return float

TVTop public property

public float TVTop
return float

XOffset public property

public float XOffset
return float