processing

package
v0.0.0-...-dc91c4c Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Image       *image.RGBA
	FillColor   *color.RGBA
	StrokeColor *color.RGBA
}

type Processing

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

func NewProcessing

func NewProcessing(cfg Config) *Processing

func (*Processing) Circle

func (p *Processing) Circle(x, y, extent int)

func (*Processing) Fill

func (p *Processing) Fill(c *color.RGBA)

func (*Processing) Line

func (p *Processing) Line(startX, startY, endX, endY int)

func (*Processing) NoFill

func (p *Processing) NoFill()

func (*Processing) NoStroke

func (p *Processing) NoStroke()

func (*Processing) Pie

func (p *Processing) Pie(x, y, extent int, startAngle, endAngle float64)

func (*Processing) Rect

func (p *Processing) Rect(x, y, width, height int)

func (*Processing) Stroke

func (p *Processing) Stroke(c *color.RGBA)

Jump to

Keyboard shortcuts

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