Documentation ¶
Overview ¶
draw is a package from drawing with the cpu
Index ¶
- func Draw[T Drawable](shape T, d displayer, clr color.Color)
- func Fill[T Fillableable](shape T, d displayer, clr color.Color)
- func WriteLine(d displayer, s string, x int, y int, c color.Color)
- type Circle
- type Cube
- type Drawable
- type Fillableable
- type Line
- type Point
- type Point3D
- type Polygon
- type Ray
- type Rect
- type Triangle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fill ¶
func Fill[T Fillableable](shape T, d displayer, clr color.Color)
Types ¶
type Fillableable ¶
Click to show internal directories.
Click to hide internal directories.