Class: Gsk::InsetShadowNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::InsetShadowNode
- Defined in:
- (unknown)
Overview
A render node for an inset shadow.
Instance Method Summary collapse
-
#blur_radius ⇒ Gsk::gfloat
Retrieves the blur radius to apply to the shadow.
-
#color ⇒ Gdk::RGBA
Retrieves the color of the inset shadow.
-
#dx ⇒ Gsk::gfloat
Retrieves the horizontal offset of the inset shadow.
-
#dy ⇒ Gsk::gfloat
Retrieves the vertical offset of the inset shadow.
-
#initialize(outline, color, dx, dy, spread, blur_radius) ⇒ Gsk::InsetShadowNode
constructor
Creates a
GskRenderNodethat will render an inset shadow into the box given by outline. -
#outline ⇒ Gsk::RoundedRect
Retrieves the outline rectangle of the inset shadow.
-
#spread ⇒ Gsk::gfloat
Retrieves how much the shadow spreads inwards.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(outline, color, dx, dy, spread, blur_radius) ⇒ Gsk::InsetShadowNode
Creates a GskRenderNode that will render an inset shadow
into the box given by outline.
Instance Method Details
#blur_radius ⇒ Gsk::gfloat
Retrieves the blur radius to apply to the shadow.
#color ⇒ Gdk::RGBA
Retrieves the color of the inset shadow.
#dx ⇒ Gsk::gfloat
Retrieves the horizontal offset of the inset shadow.
#dy ⇒ Gsk::gfloat
Retrieves the vertical offset of the inset shadow.
#outline ⇒ Gsk::RoundedRect
Retrieves the outline rectangle of the inset shadow.
#spread ⇒ Gsk::gfloat
Retrieves how much the shadow spreads inwards.