Documentation ¶
Overview ¶
Structs for working with shapes as values.
The main firefly module provides functions for drawing shapes. This modules provides useful struct for when you need to store or manipulate a shape before it can be drawn.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arc ¶
type Arc struct { Point firefly.Point Diameter int Start firefly.Angle Sweep firefly.Angle Style firefly.Style }
A wrapper for firefly.DrawArc.
type Circle ¶
A wrapper for firefly.DrawCircle.
type Ellipse ¶
A wrapper for firefly.DrawEllipse.
type Line ¶
A wrapper for firefly.DrawLine.
type Rect ¶
A wrapper for firefly.DrawRect.
type RoundedRect ¶
type RoundedRect struct { Point firefly.Point Size firefly.Size Corner firefly.Size Style firefly.Style }
A wrapper for firefly.DrawRoundedRect.
Click to show internal directories.
Click to hide internal directories.