shapes

package
v0.0.0-...-2a023ee Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT 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