Type Rectangle

type Rectangle struct {
	Bounds  Rect
	Color   Color
	Radius  float32
	Layer   uint16
	ClipOf  Rect
	HasClip bool
}

Rectangle is one solid paint primitive. ClipOf/HasClip capture the active clip intersection at paint time; renderers intersect Bounds with it.