diff options
Diffstat (limited to 'pkg/draw/full.go')
-rw-r--r-- | pkg/draw/full.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/draw/full.go b/pkg/draw/full.go new file mode 100644 index 0000000..6f234b0 --- /dev/null +++ b/pkg/draw/full.go @@ -0,0 +1,11 @@ +package draw + +var _ Pixels = &Full{} + +type Full struct{ *Buffer } + +func (b *Full) Size() Box { return b.Box } + +func (b *Full) Set(y, x int) { b.Buffer.Set(y, x, '█') } + +func (b *Full) Clear() { b.Fill(' ') } |