gsk.inset_shadow_node

Module for [InsetShadowNode] class

Types 1

classInsetShadowNode : gsk.render_node.RenderNode

A render node for an inset shadow.

Methods
float getBlurRadius()Retrieves the blur radius to apply to the shadow. Returns: the blur radius, in pixels
gdk.rgba.RGBA getColor()Retrieves the color of the inset shadow. Returns: the color of the shadow
float getDx()Retrieves the horizontal offset of the inset shadow. Returns: an offset, in pixels
float getDy()Retrieves the vertical offset of the inset shadow. Returns: an offset, in pixels
gsk.rounded_rect.RoundedRect getOutline()Retrieves the outline rectangle of the inset shadow. Returns: a rounded rectangle
float getSpread()Retrieves how much the shadow spreads inwards. Returns: the size of the shadow, in pixels
Constructors
this(void * ptr, Flag!"Take" take)
this(gsk.rounded_rect.RoundedRect outline, gdk.rgba.RGBA color, float dx, float dy, float spread, float blurRadius)Creates a [gsk.render_node.RenderNode] that will render an inset shadow into the box given by outline.