render

package
v0.0.0-...-5d2067b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultImageOptions = Options{
	Scale:  1.0,
	Width:  1.0,
	Stroke: color.RGBA{A: 255},
	Fill:   color.RGBA{255, 255, 255, 255},
}
View Source
var DefaultPathOptions = Options{
	Scale:  1.0,
	Width:  0.0,
	Stroke: color.RGBA{A: 255},
	Fill:   color.RGBA{255, 255, 255, 255},
}

Functions

func Image

func Image(img svg.Image, out *image.RGBA, o *Options)

Types

type Options

type Options struct {
	Scale        float64
	Stroke, Fill color.RGBA
	Width        float64
}

Jump to

Keyboard shortcuts

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