gioui.org/ui@v0.0.0-20190926171558-ce74bc0cbaea/paint/doc.go (about) 1 // SPDX-License-Identifier: Unlicense OR MIT 2 3 /* 4 Package paint provides operations for 2D graphics. 5 6 The PaintOp operation draws the current material into a rectangular 7 area, taking the current clip path and transformation into account. 8 9 The material is set by either a ColorOp for a constant color, or 10 ImageOp for an image. 11 12 The ClipOp operation sets the clip path. Drawing outside the clip 13 path is ignored. A path is a closed shape of lines or curves. 14 */ 15 package paint