nexttool

package
v0.0.0-...-19fadcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arrange

type Arrange struct {
	// contains filtered or unexported fields
}

func (*Arrange) Event

func (t *Arrange) Event()

func (*Arrange) Icon

func (t *Arrange) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type Brush

type Brush struct {
	// contains filtered or unexported fields
}

func (*Brush) Event

func (t *Brush) Event()

func (*Brush) Icon

func (t *Brush) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type BrushOptions

type BrushOptions struct {
	StrokeColor color.NRGBA
}

type FillOptions

type FillOptions struct {
	Color         color.NRGBA
	GradietColor1 color.NRGBA
	GradietColor2 color.NRGBA
}

type Image

type Image struct {
	// contains filtered or unexported fields
}

func (*Image) Event

func (t *Image) Event()

func (*Image) Icon

func (t *Image) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type Pen

type Pen struct {
	// contains filtered or unexported fields
}

func (*Pen) Event

func (t *Pen) Event()

func (*Pen) Icon

func (t *Pen) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type Selection

type Selection struct {
	// contains filtered or unexported fields
}

func (*Selection) Event

func (t *Selection) Event()

func (*Selection) Icon

func (t *Selection) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type Shape

type Shape struct {
	// contains filtered or unexported fields
}

func (*Shape) Event

func (t *Shape) Event()

func (*Shape) Icon

func (t *Shape) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type StrokeOptions

type StrokeOptions struct {
	StrokeColor color.NRGBA
}

type Text

type Text struct {
	// contains filtered or unexported fields
}

func (*Text) Event

func (t *Text) Event()

func (*Text) Icon

func (t *Text) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

type Tool

type Tool interface {
	Icon(gtx layout.Context, sz unit.Value) layout.FlexChild
	Event()
}

type ToolMenu

type ToolMenu struct {
	// contains filtered or unexported fields
}

func NewToolMenu

func NewToolMenu(theme *material.Theme, tools ...Tool) *ToolMenu

func (*ToolMenu) Layout

func (m *ToolMenu) Layout(gtx layout.Context) layout.Dimensions

type Zoom

type Zoom struct {
	// contains filtered or unexported fields
}

func (*Zoom) Event

func (t *Zoom) Event()

func (*Zoom) Icon

func (t *Zoom) Icon(gtx layout.Context, sz unit.Value) layout.FlexChild

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL