Height
返回当前图像的高度。
参数
无
返回值
int
例子
package main
import (
"fmt"
"github.com/fishtailstudio/imgo"
)
func main() {
img := imgo.Load("gopher.png")
fmt.Println(img.Height())
}
输出:
256
最后更新于
返回当前图像的高度。
无
int
package main
import (
"fmt"
"github.com/fishtailstudio/imgo"
)
func main() {
img := imgo.Load("gopher.png")
fmt.Println(img.Height())
}
输出:
256
最后更新于