Interface IDrawSurface
Defines the traits needed by an object to draw a IDrawable onto.
Namespace: Sharpie.Abstractions
Assembly: sharpie.dll
Syntax
public interface IDrawSurface
Properties
Size
The total size of the draw surface.
Declaration
Size Size { get; }
Property Value
| Type | Description |
|---|---|
| Size |
Methods
DrawCell(Point, Rune, Style)
Draws a rune at a location using the given style.
Declaration
void DrawCell(Point location, Rune rune, Style style)
Parameters
| Type | Name | Description |
|---|---|---|
| Point | location | The location to draw to. |
| Rune | rune | The rune to draw. |
| Style | style | The cell style. |