op/paint: update documentation to match the removal of PaintOp.Rect

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-11-16 12:54:58 +01:00
parent c15415b0d9
commit 23fa3480c6
+3 -3
View File
@@ -3,11 +3,11 @@
/*
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.
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.RGBA values are in the sRGB color space.
*/