RepeatingRadialGradientNode.this

Creates a GskRenderNode 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.

  1. this(GskRepeatingRadialGradientNode* gskRepeatingRadialGradientNode, bool ownedRef)
  2. this(Rect bounds, Point center, float hradius, float vradius, float start, float end, GskColorStop[] colorStops)
    class RepeatingRadialGradientNode

Parameters

bounds Rect

the bounds of the node

center Point

the center of the gradient

hradius float

the horizontal radius

vradius float

the vertical radius

start float

a percentage >= 0 that defines the start of the gradient around @center

end float

a percentage >= 0 that defines the end of the gradient around @center

colorStops GskColorStop[]

a pointer to an array of GskColorStop 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.

Return Value

A new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta