From 4249697062ee07c64ff19c2670835a80455bac8d Mon Sep 17 00:00:00 2001 From: szzhiyang <30952626+szzhiyang@users.noreply.github.com> Date: Thu, 30 Jul 2020 10:32:57 +0800 Subject: [PATCH] Fix typo in the documentation for DrawImageOptions (#1275) "The default (zero) value is identify" -> "The default (zero) value is identity" --- image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.go b/image.go index 054611f83..78a72d37c 100644 --- a/image.go +++ b/image.go @@ -448,7 +448,7 @@ func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, o // This API is experimental. type DrawRectShaderOptions struct { // 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 // CompositeMode is a composite mode to draw.