svg

package
v0.0.0-...-7a2f15f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package svg defines high-level operations for converting image files into SVG files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugMode

func DebugMode(s *svg)

func KeepInvisible

func KeepInvisible(s *svg)

Types

type Interface

type Interface interface {
	fmt.Stringer
}

Interface exists to explicitly define what can be done to SVG instance objects.

func New

func New(srcFilePath string, options ...Option) (Interface, error)

New creates an instance of svg.Interface to convert an image into an SVG file.

type Option

type Option func(*svg)

func Exclude

func Exclude(c color.RGBA) Option

func Strategy

func Strategy(f strategy.Func) Option

Jump to

Keyboard shortcuts

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