Added Summeries
This commit is contained in:
parent
71a22df8bd
commit
8296d9b8a9
47 changed files with 812 additions and 177 deletions
|
|
@ -9,14 +9,21 @@ using SM2D.Types;
|
|||
|
||||
namespace SM2D.Drawing
|
||||
{
|
||||
/// <summary>
|
||||
/// Draws a text to the world.
|
||||
/// </summary>
|
||||
public class DrawText : TextDrawingBasis<Transformation>
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a text object.
|
||||
/// </summary>
|
||||
public DrawText(Font font, string text) : base(font)
|
||||
{
|
||||
_text = text;
|
||||
Transform.Size = new CVector2(1);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void DrawContext(ref DrawContext context)
|
||||
{
|
||||
base.DrawContext(ref context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue