Documentation ¶
Index ¶
- Constants
- func FillRect(dst *ebiten.Image, x, y, width, height float64, clr color.Color)
- func FillRectV(dst *ebiten.Image, pos space.Vec2F, size space.Vec2F, clr color.Color)
- func Line(dst *ebiten.Image, x1, y1, x2, y2, thickness float64, clr color.Color)
- func StrokeCircle(dst *ebiten.Image, cx, cy, r, thickness float64, clr color.Color)
- func StrokeRect(dst *ebiten.Image, x, y, width, height, thickness float64, clr color.Color)
- func StrokeRectR(dst *ebiten.Image, rect space.RectF, thickness float64, clr color.Color)
- func StrokeRectV(dst *ebiten.Image, pos space.Vec2F, size space.Vec2F, thickness float64, ...)
- func TextAligned(dst *ebiten.Image, fontFace font.Face, s string, ...)
- func TextBottomCenter(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- func TextBottomLeft(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- func TextBottomRight(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- func TextCentered(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- func TextTopLeft(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- func TextTopRight(dst *ebiten.Image, fontFace font.Face, s string, x, y float64, clr color.Color)
- type Alignment
Constants ¶
View Source
const ( AlignStart Alignment AlignEnd AlignCenter AlignLeft = AlignStart AlignRight = AlignEnd AlignTop = AlignStart AlignBottom = AlignEnd )
Variables ¶
This section is empty.
Functions ¶
func StrokeCircle ¶
func StrokeRect ¶
func StrokeRectR ¶
func StrokeRectV ¶
func TextAligned ¶
func TextBottomCenter ¶
func TextBottomLeft ¶
func TextBottomRight ¶
func TextCentered ¶
func TextTopLeft ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.