summaryrefslogtreecommitdiffstats
path: root/pkg/draw/full.go
blob: dccdd9f7d0ea318ca8d91a38a5c99f70ea53d0be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package draw

var _ Pixels = &Full{}

const fullBlock = '█'

type Full struct{ *Buffer }

func (b *Full) Size() Box { return b.Box }

func (b *Full) Set(y, x int) { b.Buffer.Set(y, x, fullBlock) }

func (b *Full) Clear() { b.Fill(' ') }