shapes

package
v0.0.0-...-4cd6851 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 8 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