ebutil

package
v0.0.0-...-c0736c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageWithColor

func NewImageWithColor(width, height int, color color.Color) *ebiten.Image

NewImageWithColor 新建填充颜色的图片

func SetOptsCenterRotation

func SetOptsCenterRotation(opts *ebiten.DrawImageOptions, img *ebiten.Image, rotation float64)

中心旋转(需要在最后的 GeoM.Translate 前执行,即先旋转,再位移)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL