draw

package
v0.0.0-...-e167276 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeLucency

func ChangeLucency(m image.Image, percentage float64) image.Image

ChangeLucency 更改透明度

func DrawPolygon

func DrawPolygon(n int) []gg.Point

DrawPolygon 画多边形

func DrawStars

func DrawStars(side, all string, num int) image.Image

DrawStars 画星星,最多6颗,左对齐

func Shadow

func Shadow(x int, y int, r float64, c color.Color) image.Image

Shadow绘制阴影,圆角矩形

func Size

func Size(im image.Image, w, h int) image.Image

Size 改变大小

Types

This section is empty.

Jump to

Keyboard shortcuts

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