Skip to content

hm5-types (source format) / GradientStop

Interface: GradientStop ​

A gradient colour stop. mid (Illustrator's midpoint, owner 2026-10-30) = where between this stop and the next the colour is an even mix, as a share of the gap 0.05..0.95; absent = 0.5 (straight blend). paint.ts stopMid / gradientColorAt / expandGradientStops are its meaning.

Properties ​

PropertyType
colorstring
mid?number
offsetnumber

HereSplash — 2D animation for the web