Skip to main content
Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Gradient
GradientStop
Home
Editor
Scripting
App Runtimes
Game Runtimes
Feature Support
Tutorials
Case Studies
Community
Blog
Early Access
Scripting
Getting Started
Demos
Creating Scripts
Protocols (Script Types)
Data Binding
Script Inputs
Pointer Events
Debugging
Keyboard Shortcuts
Scripting API
Artboards
Color
DataValue
Gradient
Gradient
GradientStop
Image
Interfaces
Mat2d
Paint
Path
Renderer
Vec2d
On this page
Fields
position
color
Gradient
GradientStop
A color stop in a
Gradient
, defined by its position in the range [0, 1] and the color at that position.
Fields
position
Position of the stop along the gradient, where 0 is the start and 1 is the end.
color
Color
at the specified position.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Gradient
Image
⌘I