메소드 | 설명 | |
---|---|---|
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 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 |