NanoSVG::GradientStop
Inherits Struct < Value < Object
Constructors
new(color : UInt32 = 0_u32, offset : Float32 = 0.0_f32)
SourceInstance methods
color
Color in the same bit layout as C NanoSVG: 0xAABBGGRR (R in the low byte, A in the high byte).
color=(color : UInt32)
Color in the same bit layout as C NanoSVG: 0xAABBGGRR (R in the low byte, A in the high byte).
offset
Sourceoffset=(offset : Float32)
Source