Class: Gsk::StrokeNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::StrokeNode
- Defined in:
- (unknown)
Overview
A render node that will fill the area determined by stroking the the given [structGsk.Path] using the [structGsk.Stroke] attributes.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
-
#initialize(child, path, stroke) ⇒ Gsk::StrokeNode
constructor
Creates a Gsk::RenderNode that will fill the outline generated by stroking the given path using the attributes defined in stroke.
-
#path ⇒ Gsk::Path
Retrieves the path that will be stroked with the contents of the node.
-
#stroke ⇒ Gsk::Stroke
Retrieves the stroke attributes used in this node.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, path, stroke) ⇒ Gsk::StrokeNode
Creates a Gsk::RenderNode that will fill the outline generated by stroking the given path using the attributes defined in stroke.
The area is filled with child.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
#path ⇒ Gsk::Path
Retrieves the path that will be stroked with the contents of the node.
#stroke ⇒ Gsk::Stroke
Retrieves the stroke attributes used in this node.