Type PrimitiveKind

type PrimitiveKind uint8

PrimitiveKind says what a Primitive is.

Constants

const (
	// RectanglePrimitive is an axis-aligned rectangle, rounded when Radius > 0.
	RectanglePrimitive PrimitiveKind = iota
	// TrianglePrimitive is one anti-aliased triangle of a vector shape.
	TrianglePrimitive
	// ShadowPrimitive is the soft shadow cast by the rounded rectangle Bounds and
	// Radius, placed and blurred by Shadow.
	ShadowPrimitive
)