aboutsummaryrefslogtreecommitdiff
path: root/vendor/gioui.org/op/paint/doc.go
blob: bbec006f8d2f318858d39a6765cf30b54f714ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: Unlicense OR MIT

/*
Package paint provides drawing operations for 2D graphics.

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, or LinearGradientOp for gradients.

All color.NRGBA values are in the sRGB color space.
*/
package paint