aboutsummaryrefslogtreecommitdiff
path: root/vendor/gioui.org/op/paint/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gioui.org/op/paint/doc.go')
-rw-r--r--vendor/gioui.org/op/paint/doc.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/vendor/gioui.org/op/paint/doc.go b/vendor/gioui.org/op/paint/doc.go
index b7b569a..bbec006 100644
--- a/vendor/gioui.org/op/paint/doc.go
+++ b/vendor/gioui.org/op/paint/doc.go
@@ -3,10 +3,13 @@
/*
Package paint provides drawing operations for 2D graphics.
-The PaintOp operation draws the current brush into a rectangular
-area, taking the current clip path and transformation into account.
+The PaintOp operation fills the current clip with the current brush, taking the
+current transformation into account. Drawing outside the current clip area is
+ignored.
The current brush is set by either a ColorOp for a constant color, or
-ImageOp for an image.
+ImageOp for an image, or LinearGradientOp for gradients.
+
+All color.NRGBA values are in the sRGB color space.
*/
package paint