类型 PrimitiveKind

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

type PrimitiveKind uint8

PrimitiveKind says what a Primitive is.

常量

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
)