struct

NanoSVG::GradientStop

Inherits Struct < Value < Object

Constructors

new(color : UInt32 = 0_u32, offset : Float32 = 0.0_f32)
Source

Instance methods

color

Color in the same bit layout as C NanoSVG: 0xAABBGGRR (R in the low byte, A in the high byte).

Source
color=(color : UInt32)

Color in the same bit layout as C NanoSVG: 0xAABBGGRR (R in the low byte, A in the high byte).

Source
offset
Source
offset=(offset : Float32)
Source