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
)类型 PrimitiveKind
API 文档由 Go 源码生成,内容为英文。
type PrimitiveKind uint8PrimitiveKind says what a Primitive is.