Class: Gsk::RepeatingRadialGradientNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::RepeatingRadialGradientNode
- Defined in:
- (unknown)
Overview
A render node for a repeating radial gradient.
Instance Method Summary collapse
-
#initialize(bounds, center, hradius, vradius, start, end, color_stops, n_color_stops) ⇒ Gsk::RepeatingRadialGradientNode
constructor
Creates a
GskRenderNodethat draws a repeating radial gradient.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(bounds, center, hradius, vradius, start, end, color_stops, n_color_stops) ⇒ Gsk::RepeatingRadialGradientNode
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 vertical orientation.