svg

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package svg wraps SVG DOM elements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element interface {
	JSValue() js.Value
}

type Line

type Line struct {
	Value js.Value
}

func MakeLine

func MakeLine() Line

func (Line) Color

func (x Line) Color(color css.Color)

func (Line) JSValue

func (x Line) JSValue() js.Value

func (Line) Width

func (x Line) Width(val uint16, unit css.Unit)

func (Line) X0

func (x Line) X0(val uint16, unit css.Unit)

func (Line) X1

func (x Line) X1(val uint16, unit css.Unit)

func (Line) Y0

func (x Line) Y0(val uint16, unit css.Unit)

func (Line) Y1

func (x Line) Y1(val uint16, unit css.Unit)

Jump to

Keyboard shortcuts

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