Color
Stop
constructor
color
offset
name
NODE-GTK API Reference
Gsk-4.0
Gsk
ColorStop
Class ColorStop
A color stop in a gradient node.
record
Hierarchy
ColorStop
Index
Constructors
constructor
Properties
color
offset
name
Constructors
constructor
new
Color
Stop
(
)
:
ColorStop
Returns
ColorStop
Properties
color
color
:
Gdk
.
RGBA
the color at the given offset
field
offset
offset
:
number
the offset of the color stop
field
Static
name
name
:
string
Color
Stop
constructor
color
offset
name
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc2tfNF8wLkdzay5Db2xvclN0b3AuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6Ikdza180XzAuR3NrLkNvbG9yU3RvcC5odG1sI2NvbG9yIiwibmFtZSI6ImNvbG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3NrXzRfMC5Hc2suQ29sb3JTdG9wLmh0bWwjb2Zmc2V0IiwibmFtZSI6Im9mZnNldCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR3NrXzRfMC5Hc2suQ29sb3JTdG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