NanoSVG::Paint
Inherits Struct < Value < Object
Constructors
gradient(type : PaintType, g : Gradient) : Paint
Sourcenew
Sourcesolid(color : UInt32) : Paint
SourceInstance methods
color
Sourcecolor=(color : UInt32)
Sourcegradient
Sourcegradient=(gradient : Gradient | Nil)
Sourcetype
Sourcetype=(type : PaintType)
Source