Метод | Описание | |
---|---|---|
AssignCharacterTextureCoordinates ( int asciiNumber, float &tVTop, float &tVBottom, float &tULeft, float &tURight ) : void | ||
BitmapFont ( Microsoft.Xna.Framework.Graphics.Texture2D fontTextureGraphic, string fontPattern ) : System | ||
BitmapFont ( string fontFile, SystemManagers managers ) : System | ||
BitmapFont ( string textureFile, string fontFile, SystemManagers managers ) : System | ||
Dispose ( ) : void | ||
DistanceFromTopOfLine ( int asciiNumber ) : float | ||
GetCharacterHeight ( int asciiNumber ) : float | ||
GetCharacterInfo ( char character ) : |
||
GetCharacterInfo ( int asciiNumber ) : |
||
GetCharacterRect ( char c, int lineNumber, Point &point, |
||
GetCharacterScaleX ( int asciiNumber ) : float | ||
GetCharacterSpacing ( int asciiNumber ) : float | ||
GetCharacterWidth ( char character ) : float | ||
GetCharacterWidth ( int asciiNumber ) : float | ||
GetCharacterXOffset ( int asciiNumber ) : float | ||
GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight ) : void | ||
GetSourceTextures ( string fontPattern ) : string[] | ||
MeasureString ( string line ) : int | ||
RenderAtlasedTextureToScreen ( List |
Used for rendering directly to screen with an atlased texture.
|
|
RenderToTexture2D ( IEnumerable |
|
|
RenderToTexture2D ( string whatToRender, HorizontalAlignment horizontalAlignment, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RenderToTexture2D ( string whatToRender, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
SetFontPattern ( string fontPattern ) : void | ||
SetFontPatternFromFile ( string fntFileName ) : void |
Метод | Описание | |
---|---|---|
CheckForLoadedAtlasTexture ( string filename ) : |
||
DrawLines ( IEnumerable |
||
FillBitmapCharacterInfo ( int characterID, string fontString, int textureWidth, int textureHeight, int lineHeightInPixels, int startingIndex ) : |
||
GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight, List |
||
RenderToTexture2DUsingImageData ( IEnumerable lines, HorizontalAlignment horizontalAlignment, SystemManagers managers ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
RenderToTexture2DUsingRenderStates ( IEnumerable |
public AssignCharacterTextureCoordinates ( int asciiNumber, float &tVTop, float &tVBottom, float &tULeft, float &tURight ) : void | ||
asciiNumber | int | |
tVTop | float | |
tVBottom | float | |
tULeft | float | |
tURight | float | |
Результат | void |
public BitmapFont ( Microsoft.Xna.Framework.Graphics.Texture2D fontTextureGraphic, string fontPattern ) : System | ||
fontTextureGraphic | Microsoft.Xna.Framework.Graphics.Texture2D | |
fontPattern | string | |
Результат | System |
public BitmapFont ( string fontFile, SystemManagers managers ) : System | ||
fontFile | string | |
managers | SystemManagers | |
Результат | System |
public BitmapFont ( string textureFile, string fontFile, SystemManagers managers ) : System | ||
textureFile | string | |
fontFile | string | |
managers | SystemManagers | |
Результат | System |
public DistanceFromTopOfLine ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetCharacterHeight ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetCharacterInfo ( char character ) : |
||
character | char | |
Результат |
public GetCharacterInfo ( int asciiNumber ) : |
||
asciiNumber | int | |
Результат |
public GetCharacterRect ( char c, int lineNumber, Point &point, |
||
c | char | |
lineNumber | int | |
point | Point | |
destinationRectangle | ||
pageIndex | int | |
fontScale | float | |
Результат |
public GetCharacterScaleX ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetCharacterSpacing ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetCharacterWidth ( char character ) : float | ||
character | char | |
Результат | float |
public GetCharacterWidth ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetCharacterXOffset ( int asciiNumber ) : float | ||
asciiNumber | int | |
Результат | float |
public GetRequiredWithAndHeight ( IEnumerable lines, int &requiredWidth, int &requiredHeight ) : void | ||
lines | IEnumerable | |
requiredWidth | int | |
requiredHeight | int | |
Результат | void |
public static GetSourceTextures ( string fontPattern ) : string[] | ||
fontPattern | string | |
Результат | string[] |
public MeasureString ( string line ) : int | ||
line | string | |
Результат | int |
public RenderAtlasedTextureToScreen ( List |
||
lines | List |
|
horizontalAlignment | HorizontalAlignment | |
textureToRenderHeight | float | |
color | Color | |
rotation | float | |
fontScale | float | |
managers | SystemManagers | |
spriteRenderer | ||
objectRequestingChange | object | |
Результат | void |
public RenderToTexture2D ( IEnumerable |
||
lines | IEnumerable |
|
horizontalAlignment | HorizontalAlignment | |
managers | SystemManagers | |
toReplace | Microsoft.Xna.Framework.Graphics.Texture2D | |
objectRequestingRender | object | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public RenderToTexture2D ( string whatToRender, HorizontalAlignment horizontalAlignment, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
whatToRender | string | |
horizontalAlignment | HorizontalAlignment | |
managers | SystemManagers | |
objectRequestingRender | object | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public RenderToTexture2D ( string whatToRender, SystemManagers managers, object objectRequestingRender ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
whatToRender | string | |
managers | SystemManagers | |
objectRequestingRender | object | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
public SetFontPattern ( string fontPattern ) : void | ||
fontPattern | string | |
Результат | void |
public SetFontPatternFromFile ( string fntFileName ) : void | ||
fntFileName | string | |
Результат | void |