
Gnome::Gsk4::RepeatingRadialGradientNode
Description
A render node for a repeating radial gradient.
Class initialization
new
:native-object
Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
new-repeatingradialgradientnode
Creates a Gnome::Gsk4::RenderNode that draws a repeating radial gradient.
The radial gradient starts around $center. The size of the gradient is dictated by $hradius in horizontal orientation and by $vradius in vertial orientation.
method new-repeatingradialgradientnode ( N-Object $bounds, N-Object $center, Num() $hradius, Num() $vradius, Num() $start, Num() $end, N-Object $color-stops, Int() $n-color-stops --> Gnome::Gsk4::RepeatingRadialGradientNode \)
- $bounds; the bounds of the node 
- $center; the center of the gradient 
- $hradius; the horizontal radius. 
- $vradius; the vertical radius. 
- $start; a percentage >= 0 that defines the start of the gradient around - $center.
- $end; a percentage >= 0 that defines the end of the gradient around - $center.
- $color-stops; a pointer to an array of Gnome::Gsk4::N-ColorStop defining the gradient. 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. 
- $n-color-stops; the number of elements in - $color-stops.
 About all my projects
    About all my projects