Fix typo in the documentation for DrawImageOptions (#1275)

"The default (zero) value is identify" -> "The default (zero) value is identity"
This commit is contained in:
szzhiyang 2020-07-30 10:32:57 +08:00 committed by GitHub
parent 0b3f846b47
commit 4249697062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -448,7 +448,7 @@ func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, o
// This API is experimental. // This API is experimental.
type DrawRectShaderOptions struct { type DrawRectShaderOptions struct {
// GeoM is a geometry matrix to draw. // GeoM is a geometry matrix to draw.
// The default (zero) value is identify, which draws the rectangle at (0, 0). // The default (zero) value is identity, which draws the rectangle at (0, 0).
GeoM GeoM GeoM GeoM
// CompositeMode is a composite mode to draw. // CompositeMode is a composite mode to draw.