Documentation ¶
Overview ¶
Package paint provides drawing operations for 2D graphics.
The PaintOp operation draws the current material into a rectangular area, taking the current clip path and transformation into account.
The material is set by either a ColorOp for a constant color, or ImageOp for an image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageOp ¶
type ImageOp struct {
// contains filtered or unexported fields
}
ImageOp sets the material to an image.
func NewImageOp ¶
Click to show internal directories.
Click to hide internal directories.