Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinesFromMatrix ¶
LinesFromMatrix creates new canvas.Line from the matrix.
func NewLineBetween ¶
NewLineBetween creates a new line between the given coordinates.
Types ¶
type LineDrawer ¶
type LineDrawer struct { widget.BaseWidget // contains filtered or unexported fields }
LineDrawer draws lines from a matrix of position vectors.
func NewLineDrawer ¶
func NewLineDrawer(matrix matrix.Matrix) *LineDrawer
NewLineDrawer creates a new LineDrawer with the given matrix.
func (*LineDrawer) CreateRenderer ¶
func (l *LineDrawer) CreateRenderer() fyne.WidgetRenderer
CreateRenderer is a method that creates a renderer for the widget.
func (*LineDrawer) DragEnd ¶
func (l *LineDrawer) DragEnd()
DragEnd is not currently needed other than to satisfy fyne.Draggable.
func (*LineDrawer) Dragged ¶
func (l *LineDrawer) Dragged(d *fyne.DragEvent)
Dragged handles the rotation of the view.
func (*LineDrawer) Scrolled ¶
func (l *LineDrawer) Scrolled(s *fyne.ScrollEvent)
Scrolled handles the zooming of the view.
Click to show internal directories.
Click to hide internal directories.