package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev

# Functions

ApproximateEllipse creates a polygon that approximates an ellipse.
ApproximateEllipseAuto creates a polygon that approximates an ellipse, automatically choose the number of segments to break the ellipse contour into.
CalcEllipseSegmentCount returns a suggested number of segments to use when generating an ellipse.
Rect creates a new polygon in the shape of a rectangle.

# Type aliases

Contour is a sequence of vertices connected by line segments, forming a closed shape.
Polygon holds one or more contour lines.