类型 IconLayer
API 文档由 Go 源码生成,内容为英文。
type IconLayer struct {
// Fill is the solid color. With a Gradient it is only the color a tool that
// ignores gradients would use.
Fill Color
FillRule PathFillRule
// Gradient, when set, replaces Fill with a linear gradient.
Gradient *LinearGradient
Commands []PathCommand
}IconLayer is one filled shape of a multi-color icon.