Package: gsk

Function gsk:repeating-radial-gradient-node-new

Lambda List

gsk:repeating-radial-gradient-node-new (bounds center hradius vradius start end color-stops)

Arguments

bounds -- a graphene:rect-t instance with the rectangle to render the linear gradient into
center -- a graphene:point-t instance with the center of the radial gradient
hradius -- a number coerced to a float with the horizontal radius
vradius -- a number coerced to a float with the vertical radius
start -- a number coerced to a float with the percentage >= 0 that defines the start of the radial gradient around center
end -- a number coerced to a float with the percentage >= 0 that defines the end of the radial gradient around center
color-stops -- a list of the form '((offset1 color1) (offset2 color2) ...) with the offsets and colors defining the gradient

Return Value

Details

Creates a render node that will create a repeating radial gradient. The repeating radial gradient starts around center. The size of the gradient is dictated by hradius in horizontal orientation and by vradius in vertial orientation.

The offsets of all color stops must be increasing. The first stop's offset must be >= 0 and the last stop's offset must be <= 1.
 

See also

#2023-11-27