Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Props ¶
type Props struct { scene.Attrs // FontFace to draw text with. FontFace font.Face // JustifyLines specifies justification of text lines. Default is [textview.JustifyCenter]. JustifyLines basic.Opt[textview.Justify] // JustifyWords specifies justification of text words within line. Default is [textview.JustifyCenter]. JustifyWords basic.Opt[textview.Justify] // Text to display. Text string // TextColor to draw text with. TextColor color.Color }
Props associated with TextViewer.
type TextViewer ¶
TextViewer extended by trait of type T.
func New ¶
New initializes and returns new TextViewer.
Click to show internal directories.
Click to hide internal directories.