Versions in this module Expand all Collapse all v1 v1.0.0 Oct 6, 2023 Changes in this version + type EndShape int + const NoEndShape + const RoundEndShape + const SharpEndShape + type IMDraw struct + Color color.Color + EndShape EndShape + Intensity float64 + Picture pixel.Vec + Precision int + func New(pic pixel.Picture) *IMDraw + func (imd *IMDraw) Circle(radius, thickness float64) + func (imd *IMDraw) CircleArc(radius, low, high, thickness float64) + func (imd *IMDraw) Clear() + func (imd *IMDraw) Draw(t pixel.Target) + func (imd *IMDraw) Ellipse(radius pixel.Vec, thickness float64) + func (imd *IMDraw) EllipseArc(radius pixel.Vec, low, high, thickness float64) + func (imd *IMDraw) Line(thickness float64) + func (imd *IMDraw) MakePicture(p pixel.Picture) pixel.TargetPicture + func (imd *IMDraw) MakeTriangles(t pixel.Triangles) pixel.TargetTriangles + func (imd *IMDraw) Polygon(thickness float64) + func (imd *IMDraw) Push(pts ...pixel.Vec) + func (imd *IMDraw) Rectangle(thickness float64) + func (imd *IMDraw) Reset() + func (imd *IMDraw) SetColorMask(color color.Color) + func (imd *IMDraw) SetMatrix(m pixel.Matrix) Other modules containing this package github.com/gopxl/pixel/v2