gsk.outset_shadow_node
Module for [OutsetShadowNode] class
class OutsetShadowNode
Types 1
classOutsetShadowNode : gsk.render_node.RenderNode
A render node for an outset shadow.
Methods
float getBlurRadius()Retrieves the blur radius of the shadow. Returns: the blur radius, in pixelsgdk.rgba.RGBA getColor()Retrieves the color of the outset shadow. Returns: a colorfloat getDx()Retrieves the horizontal offset of the outset shadow. Returns: an offset, in pixelsfloat getDy()Retrieves the vertical offset of the outset shadow. Returns: an offset, in pixelsgsk.rounded_rect.RoundedRect getOutline()Retrieves the outline rectangle of the outset shadow. Returns: a rounded rectanglefloat getSpread()Retrieves how much the shadow spreads outwards. 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 outset shadow around the box given by outline.