graphics: Add explicit types for documents (godoc.org)

This commit is contained in:
Hajime Hoshi 2018-12-24 19:36:41 +09:00
parent f5708cb58a
commit ea9eac0461

View File

@ -430,10 +430,10 @@ type Address int
const (
// AddressClampToZero means that out-of-range texture coordinates return 0 (transparent).
AddressClampToZero = Address(graphics.AddressClampToZero)
AddressClampToZero Address = Address(graphics.AddressClampToZero)
// AddressRepeat means that texture coordinates wrap to the other side of the texture.
AddressRepeat = Address(graphics.AddressRepeat)
AddressRepeat Address = Address(graphics.AddressRepeat)
)
// DrawTrianglesOptions represents options to render triangles on an image.