C# Class FlatRedBall.Graphics.BitmapCharacterInfo

Datei anzeigen 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_oe property

public float DistanceFromTopOfLine
return float

PageNumber public_oe property

public int PageNumber
return int

ScaleX public_oe property

public float ScaleX
return float

ScaleY public_oe property

public float ScaleY
return float

SecondLetterKearning public_oe property

public Dictionary SecondLetterKearning
return int>.Dictionary

Spacing public_oe property

public float Spacing
return float

TULeft public_oe property

public float TULeft
return float

TURight public_oe property

public float TURight
return float

TVBottom public_oe property

public float TVBottom
return float

TVTop public_oe property

public float TVTop
return float

XOffset public_oe property

public float XOffset
return float