Documentation ¶
Overview ¶
Package draw
Index ¶
- func ShapeFilter(shape string, f Filter, rx string) string
- type Filter
- type Shape
- func Circle(r int, subtract bool) *Shape
- func Dot() *Shape
- func Heart(size int) *Shape
- func Hexagon(r int) *Shape
- func NewShape() *Shape
- func Pentagon(r int) *Shape
- func Pixel() *Shape
- func Poligon(r int, s int) *Shape
- func Rectangle(x1, y1, x2, y2 int) *Shape
- func Ring(radio, outlineWidth int) *Shape
- func Square(w, h int) *Shape
- func Star(r1 int, r2 int, spikes int) *Shape
- func Triangle(size int) *Shape
- func (d Shape) B(args ...int) *Shape
- func (d Shape) Clip(mode int) string
- func (d Shape) Draw(mode int) string
- func (d Shape) Flip() *Shape
- func (d Shape) IClip(mode int) string
- func (d Shape) L(x, y int) *Shape
- func (d Shape) M(x, y int) *Shape
- func (d Shape) N(x, y int) *Shape
- func (d Shape) Scale(x, y float64) *Shape
- func (d Shape) String() string
- func (d Shape) Translate(x, y int) *Shape
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.