Class: Gsk::BorderNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::BorderNode
- Defined in:
- (unknown)
Overview
A render node for a border.
Instance Method Summary collapse
-
#colors ⇒ Gdk::RGBA
Retrieves the colors of the border.
-
#initialize(outline, border_width, border_color) ⇒ Gsk::BorderNode
constructor
Creates a
GskRenderNodethat will stroke a border rectangle inside the given outline. -
#outline ⇒ Gsk::RoundedRect
Retrieves the outline of the border.
-
#widths ⇒ Array<Gsk::gfloat>
Retrieves the stroke widths of the border.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(outline, border_width, border_color) ⇒ Gsk::BorderNode
Creates a GskRenderNode that will stroke a border rectangle inside the
given outline.
The 4 sides of the border can have different widths and colors.
Instance Method Details
#colors ⇒ Gdk::RGBA
Retrieves the colors of the border.
#outline ⇒ Gsk::RoundedRect
Retrieves the outline of the border.
#widths ⇒ Array<Gsk::gfloat>
Retrieves the stroke widths of the border.