Documentation ¶
Index ¶
- Constants
- type Drawer
- func (d *Drawer) CollisionPointColor() cp.FColor
- func (d *Drawer) ConstraintColor() cp.FColor
- func (d *Drawer) Data() interface{}
- func (d *Drawer) DrawCircle(pos cp.Vector, angle, radius float64, outline, fill cp.FColor, ...)
- func (d *Drawer) DrawDot(size float64, pos cp.Vector, fill cp.FColor, data interface{})
- func (d *Drawer) DrawFatSegment(a, b cp.Vector, radius float64, outline, fill cp.FColor, data interface{})
- func (d *Drawer) DrawPolygon(count int, verts []cp.Vector, radius float64, outline, fill cp.FColor, ...)
- func (d *Drawer) DrawSegment(a, b cp.Vector, fill cp.FColor, data interface{})
- func (d *Drawer) Flags() uint
- func (d *Drawer) OutlineColor() cp.FColor
- func (d *Drawer) ShapeColor(shape *cp.Shape, data interface{}) cp.FColor
Constants ¶
View Source
const DrawPointLineScale = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Drawer ¶
type Drawer struct { Screen *ebiten.Image ScreenWidth int ScreenHeight int AntiAlias bool // contains filtered or unexported fields }
func (*Drawer) CollisionPointColor ¶
func (d *Drawer) CollisionPointColor() cp.FColor
func (*Drawer) ConstraintColor ¶
func (d *Drawer) ConstraintColor() cp.FColor
func (*Drawer) DrawCircle ¶
func (*Drawer) DrawFatSegment ¶
func (*Drawer) DrawPolygon ¶
func (*Drawer) DrawSegment ¶
func (d *Drawer) DrawSegment(a, b cp.Vector, fill cp.FColor, data interface{})
func (*Drawer) OutlineColor ¶
func (d *Drawer) OutlineColor() cp.FColor
func (*Drawer) ShapeColor ¶
func (d *Drawer) ShapeColor(shape *cp.Shape, data interface{}) cp.FColor
Click to show internal directories.
Click to hide internal directories.