Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2023 Changes in this version + func DrawFilledCircle(dst *ebiten.Image, cx, cy, r float32, clr color.Color, antialias bool) + func DrawFilledRect(dst *ebiten.Image, x, y, width, height float32, clr color.Color, ...) + func StrokeCircle(dst *ebiten.Image, cx, cy, r float32, strokeWidth float32, clr color.Color, ...) + func StrokeLine(dst *ebiten.Image, x0, y0, x1, y1 float32, strokeWidth float32, ...) + func StrokeRect(dst *ebiten.Image, x, y, width, height float32, strokeWidth float32, ...) + type Direction int + const Clockwise + const CounterClockwise + type LineCap int + const LineCapButt + const LineCapRound + const LineCapSquare + type LineJoin int + const LineJoinBevel + const LineJoinMiter + const LineJoinRound + type Path struct + func (p *Path) AppendVerticesAndIndicesForFilling(vertices []ebiten.Vertex, indices []uint16) ([]ebiten.Vertex, []uint16) + func (p *Path) AppendVerticesAndIndicesForStroke(vertices []ebiten.Vertex, indices []uint16, op *StrokeOptions) ([]ebiten.Vertex, []uint16) + func (p *Path) Arc(x, y, radius, startAngle, endAngle float32, dir Direction) + func (p *Path) ArcTo(x1, y1, x2, y2, radius float32) + func (p *Path) Close() + func (p *Path) CubicTo(x1, y1, x2, y2, x3, y3 float32) + func (p *Path) LineTo(x, y float32) + func (p *Path) MoveTo(x, y float32) + func (p *Path) QuadTo(x1, y1, x2, y2 float32) + type StrokeOptions struct + LineCap LineCap + LineJoin LineJoin + MiterLimit float32 + Width float32