Skip to content

Paint

SolidPaint | LinearGradient | RadialGradient | AngularGradient | ImagePaint

填充对象,支持纯色线性渐变径向渐变角度渐变图案填充 等类型,可用于填充、描边等。

ts
type Paint =
  | SolidPaint
  | LinearGradient
  | RadialGradient
  | AngularGradient
  | ImagePaint

Released under the MIT License.