shapes

package
v0.0.0-...-5454b35 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEXT_STRATEGY  = "text"
	IMAGE_STRATEGY = "image"
)

Variables

This section is empty.

Functions

func Factory

func Factory(s string) (strategy.Output, error)

Types

type ImageSquare

type ImageSquare struct {
	strategy.DrawOutput
}

func (*ImageSquare) Draw

func (i *ImageSquare) Draw() error

type TextSquare

type TextSquare struct {
	strategy.DrawOutput
}

func (*TextSquare) Draw

func (t *TextSquare) Draw() error

Jump to

Keyboard shortcuts

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