Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextWrapper ¶
type TextWrapper struct {
X, Y, W float64
Color color.Color
// contains filtered or unexported fields
}
func (*TextWrapper) GetFace ¶
func (t *TextWrapper) GetFace() *text.GoTextFace
func (*TextWrapper) SetSize ¶
func (t *TextWrapper) SetSize(newSize float64, lineHeight float64)
func (*TextWrapper) SetText ¶
func (t *TextWrapper) SetText(newText []string)
Actions Set text allows you to use mutltiple lines of input in the form of a string slice. New lines will be inserted where needed as the text wraps across the bounds set by the W (width) property of the TextWrapper
Click to show internal directories.
Click to hide internal directories.