Documentation ¶
Rendered for js/wasm
Index ¶
- type Path2D
- func (p Path2D) AddPath(path Path2D, transform ...interface{})
- func (p Path2D) Arc(x, y, radius, startAngle, endAngle float64, anticlockwise ...bool)
- func (p Path2D) ArcTo(x1, y1, x2, y2, radius float64)
- func (p Path2D) BezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y float64)
- func (p Path2D) Call(method string, args ...interface{}) js.Value
- func (p Path2D) ClosePath()
- func (p Path2D) Ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle float64, ...)
- func (p Path2D) Get(key string) js.Value
- func (p Path2D) LineTo(x, y float64)
- func (p Path2D) MoveTo(x, y float64)
- func (p Path2D) QuadraticCurveTo(cpx, cpy, x, y float64)
- func (p Path2D) Rect(x, y, width, height float64)
- func (p Path2D) RoundRect(x, y, width, height, radius float64)
- func (p Path2D) Set(key string, value interface{})
- func (p Path2D) Value() js.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path2D ¶
func (Path2D) BezierCurveTo ¶
func (Path2D) QuadraticCurveTo ¶
Click to show internal directories.
Click to hide internal directories.