Documentation ¶
Index ¶
- type ImageDrawer
- func (iDrawe ImageDrawer) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)
- func (iDrawe ImageDrawer) Flip(x, y bool) ImageDrawer
- func (iDrawe ImageDrawer) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM
- func (iDrawe ImageDrawer) Rot(angle float64) ImageDrawer
- func (iDrawe ImageDrawer) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer
- type ImageDrawerExec
- type ImageDrawers
- type ImageDrawing
- type ImageSerface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDrawer ¶
type ImageDrawer struct { *ebiten.Image ebiten.GeoM }
func NewImageDrawer ¶
func NewImageDrawer[Value values.Values](x_size, y_size Value, img *ebiten.Image) (ret ImageDrawer)
func NewImageDrawerR ¶
func NewImageDrawerR[Value values.Values](x_size, y_size Value, rot int, img *ebiten.Image) (ret ImageDrawer)
func (ImageDrawer) Draw ¶
func (iDrawe ImageDrawer) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)
func (ImageDrawer) Flip ¶
func (iDrawe ImageDrawer) Flip(x, y bool) ImageDrawer
func (ImageDrawer) GetGeoM ¶
func (iDrawe ImageDrawer) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM
func (ImageDrawer) Rot ¶
func (iDrawe ImageDrawer) Rot(angle float64) ImageDrawer
func (ImageDrawer) ToImageDrawer ¶
func (iDrawe ImageDrawer) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer
type ImageDrawerExec ¶
type ImageDrawerExec struct { ImageDrawing ebiten.GeoM }
func NewImageDrawerExec ¶
func NewImageDrawerExec(iDrawerE ImageDrawing, GeomContext ebiten.GeoM) ImageDrawerExec
func (ImageDrawerExec) Draw ¶
func (iDrawerE ImageDrawerExec) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)
func (ImageDrawerExec) GetGeoM ¶
func (iDrawerE ImageDrawerExec) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM
func (ImageDrawerExec) ToImageDrawer ¶
func (iDrawerE ImageDrawerExec) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer
type ImageDrawers ¶
type ImageDrawers interface { ImageDrawer | ImageSerface | ImageDrawerExec }
type ImageDrawing ¶
type ImageDrawing interface { GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM Draw(img *ebiten.Image, GeomContext ebiten.GeoM) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer }
type ImageSerface ¶
type ImageSerface struct { ImageDrawer ebiten.GeoM }
func NewSerface ¶
func NewSerface(iDraver ImageDrawer, geom ebiten.GeoM) ImageSerface
func (ImageSerface) Draw ¶
func (iSerface ImageSerface) Draw(screen *ebiten.Image, GeomContext ebiten.GeoM)
func (ImageSerface) GetGeoM ¶
func (iSerface ImageSerface) GetGeoM(GeomContext ebiten.GeoM) ebiten.GeoM
func (ImageSerface) ToImageDrawer ¶
func (iSerface ImageSerface) ToImageDrawer(GeomContext ebiten.GeoM) ImageDrawer
Click to show internal directories.
Click to hide internal directories.