Versions in this module Expand all Collapse all v0 v0.2.2 Mar 29, 2023 v0.2.1 Jan 29, 2023 v0.2.0 Jan 8, 2023 Changes in this version + func NewSimpleCursorOption(values *CursorOption) *simpleCursorOption + func NewSimpleTextOption(values *TextOption) *simpleTextOption + type CursorOption struct + Enable bool + Foreground color.Color + Size image.Point + type CursorStyler interface + Enable func() bool + Foreground func() color.Color + Size func() image.Point + type Text struct + func NewText(app windower, text string, textStyler TextStyler, cursorStyler CursorStyler) *Text + func (t *Text) Backspace() bool + func (t *Text) Cursor() (int, int) + func (t *Text) Drop() + func (t *Text) End() + func (t *Text) Insert(alpha rune) + func (t *Text) Left() bool + func (t *Text) Line(no int) string + func (t *Text) Lines() int + func (t *Text) Move(to image.Point) + func (t *Text) Raise() + func (t *Text) Right() bool + func (t *Text) Show() + func (t *Text) String() string + type TextOption struct + Background color.Color + Border color.Color + Edge int + Font *impress.Font + Foreground color.Color + LineHeight int + Margin image.Point + Size image.Point + type TextStyler interface + Background func() color.Color + Border func() color.Color + Edge func() int + Font func() *impress.Font + Foreground func() color.Color + LineHeight func() int + Margin func() image.Point + Size func() image.Point