2.1 <GskColorStop>

Structure: <GskColorStop>

A color stop in a gradient node.

Fields

offset

the offset of the color stop

color

the color at the given offset

Procedures

Procedure: color-stop:color self ⇒ color
Procedure: color-stop:offset self ⇒ offset
Procedure: color-stop:set-color! self color
Procedure: color-stop:set-offset! self offset
Procedure: make-color-stop [offset] [color] ⇒ struct