DrawCallGlyph Class
Definition
Section titled “Definition”Draws a glyph to the active SharedSpriteBatch.
public class DrawCallGlyph : IDrawCallInheritance object
Implements IDrawCall
Constructors
Section titled “Constructors”DrawCallGlyph(ColoredGlyphBase, Rectangle, IFont, bool)
Section titled “DrawCallGlyph(ColoredGlyphBase, Rectangle, IFont, bool)”Creates a new instance of this draw call.
public DrawCallGlyph(ColoredGlyphBase cell, Rectangle targetRect, IFont font, bool drawBackground)Parameters
Section titled “Parameters”cell ColoredGlyphBase
The glyph to be drawn.
targetRect Microsoft.Xna.Framework.Rectangle
Where on the SharedSpriteBatch the glyph should be drawn.
font IFont
The font to use when drawing the glyph.
drawBackground bool
When true, draws the Background color for the glyph; otherwise false.
Fields
Section titled “Fields”The font to use when drawing the glyph.
public IFont FontThe glyph to be drawn.
public ColoredGlyphBase CellTargetRect
Section titled “TargetRect”Where on the SharedSpriteBatch the glyph should be drawn.
public Rectangle TargetRectDrawBackground
Section titled “DrawBackground”When true, draws the Background color for the glyph; otherwise false.
public bool DrawBackgroundMethods
Section titled “Methods”Draw()
Section titled “Draw()”Draws an object.
public void Draw()