类型 Clip

API 文档由 Go 源码生成,内容为英文。

type Clip struct {
	Bounds Rect
}

Clip is one clipping rectangle restricting the primitives painted after it until the next PopClip with the same depth.