Method | Description | |
---|---|---|
GetSurface ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : TextSurface |
Returns a surface with the specified image rendered to it as characters.
|
|
TextureToSurfaceReader ( int pixelWidth, int pixelHeight, Font font ) : Microsoft.Xna.Framework |
Creates a new instance of the class.
|
public GetSurface ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : TextSurface | ||
image | Microsoft.Xna.Framework.Graphics.Texture2D | The image to render. |
return | TextSurface |
public TextureToSurfaceReader ( int pixelWidth, int pixelHeight, Font font ) : Microsoft.Xna.Framework | ||
pixelWidth | int | Width the source texture. |
pixelHeight | int | Height of the source texture. |
font | Font | Font used for rendering. |
return | Microsoft.Xna.Framework |