struct

NanoSVG::Paint

Inherits Struct < Value < Object

Constructors

gradient(type : PaintType, g : Gradient) : Paint
Source
none

Convenience constructors

Source
solid(color : UInt32) : Paint
Source

Instance methods

color
Source
color=(color : UInt32)
Source
gradient
Source
gradient=(gradient : Gradient | Nil)
Source
type
Source
type=(type : PaintType)
Source