const (
// CapButt ends the stroke exactly at the endpoint.
CapButt StrokeCap = iota
// CapRound ends the stroke with a half disc.
CapRound
// CapSquare extends the stroke by half the width.
CapSquare
)类型 StrokeCap
API 文档由 Go 源码生成,内容为英文。
type StrokeCap uint8StrokeCap selects the shape at open contour endpoints.