Documentation Index
Fetch the complete documentation index at: https://rive-accessibility.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
local g = Gradient.linear(Vector.xy(0, 0), Vector.xy(100, 0), {
{
position = 0,
color = Color.rgb(255, 0, 0)
},
{
position = 1,
color = Color.rgb(0, 0, 255)
},
})
color
Color at the specified position.
local g = Gradient.linear(Vector.xy(0, 0), Vector.xy(100, 0), {
{
position = 0,
color = Color.rgb(255, 0, 0)
},
{
position = 1,
color = Color.rgb(0, 0, 255)
},
})