api

package
v0.0.0-...-4373f49 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Preserve = "preserve"
)

Variables

This section is empty.

Functions

func Arc

func Arc(x, y, r, angle1, angle2 float64)

func Bezier

func Bezier(x1, y1, x2, y2 float64, p ...float64)

func Circle

func Circle(x, y, r float64)

func Clear

func Clear()

func Clip

func Clip()

func Color

func Color(args ...any)

func Context

func Context(w, h int)

func Dash

func Dash(args ...float64)

func Earc

func Earc(x, y, rx, ry, angle1, angle2 float64)

func Ellipse

func Ellipse(x, y, rx, ry float64)

func Fill

func Fill(preserve ...string)

func From

func From(x, y float64)

func Linew

func Linew(width float64)

func Polygon

func Polygon(n int, x, y, r float64, degree ...float64)

func Pop

func Pop()

func Push

func Push()

func Rectangle

func Rectangle(x, y, w, h float64, r ...float64)

func Rotate

func Rotate(x, y, angle float64)

func Scale

func Scale(x, y float64)

func Stroke

func Stroke(preserve ...string)

func Text

func Text(x, y float64, s string)

func To

func To(x, y float64)

func Translate

func Translate(x, y float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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