Versions in this module Expand all Collapse all v0 v0.2.1 Apr 16, 2024 Changes in this version type Margin + Bottom int + Left int + Right int + Top int + func MarginAll(v int) Margin + type Size image.Point v0.2.0 Apr 16, 2024 Changes in this version + type Box struct + func NewBox(craft Craft, margin Margin, padding Padding) *Box + func (b *Box) AddText(str string, color color.Color) Craft + func (b *Box) Const() *Image + func (b *Box) Image() *ebiten.Image + func (b *Box) Position() image.Point + func (b *Box) Size() image.Point + type Craft interface + AddText func(string, color.Color) Craft + Const func() *Image + Image func() *ebiten.Image + Position func() image.Point + Size func() image.Point + type Fill struct + func NewFill(size image.Point, color color.Color) *Fill + func (f *Fill) AddText(str string, color color.Color) Craft + func (f *Fill) Const() *Image + func (f *Fill) Image() *ebiten.Image + func (f *Fill) Position() image.Point + func (f *Fill) Size() image.Point + type HorizontalStack struct + func NewHorizontalStack(crafts ...Craft) *HorizontalStack + func (s *HorizontalStack) AddText(str string, color color.Color) Craft + func (s *HorizontalStack) Const() *Image + func (s *HorizontalStack) Image() *ebiten.Image + func (s *HorizontalStack) Position() image.Point + func (s *HorizontalStack) Size() image.Point + type Image struct + func NewImage(img image.Image) *Image + func (i *Image) AddText(str string, color color.Color) Craft + func (i *Image) Const() *Image + func (i *Image) Image() *ebiten.Image + func (i *Image) Position() image.Point + func (i *Image) Size() image.Point + type Layer struct + func NewLayer(crafts ...Craft) *Layer + func (l *Layer) AddText(str string, color color.Color) Craft + func (l *Layer) Const() *Image + func (l *Layer) Image() *ebiten.Image + func (l *Layer) Position() image.Point + func (l *Layer) Size() image.Point + type Margin space + type Padding space + type VerticalStack struct + func NewVerticalStack(crafts ...Craft) *VerticalStack + func (s *VerticalStack) AddText(str string, color color.Color) Craft + func (s *VerticalStack) Const() *Image + func (s *VerticalStack) Image() *ebiten.Image + func (s *VerticalStack) Position() image.Point + func (s *VerticalStack) Size() image.Point