gsk.inset_shadow_node
Module for [InsetShadowNode] class
class InsetShadowNode
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 pixelsgdk.rgba.RGBA getColor()Retrieves the color of the inset shadow. Returns: the color of the shadowfloat getDx()Retrieves the horizontal offset of the inset shadow. Returns: an offset, in pixelsfloat getDy()Retrieves the vertical offset of the inset shadow. Returns: an offset, in pixelsgsk.rounded_rect.RoundedRect getOutline()Retrieves the outline rectangle of the inset shadow. Returns: a rounded rectanglefloat getSpread()Retrieves how much the shadow spreads inwards. Returns: the size of the shadow, in pixelsConstructors
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.