:right-sidebar: True OutsetShadowNode =================================================================== .. currentmodule:: gi.repository.Gsk .. class:: OutsetShadowNode(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gsk.RenderNode` :Constructors: :: OutsetShadowNode(**properties) new(outline:Gsk.RoundedRect, color:Gdk.RGBA, dx:float, dy:float, spread:float, blur_radius:float) -> Gsk.OutsetShadowNode Constructors ------------ .. rst-class:: interim-class .. class:: OutsetShadowNode :no-index: .. classmethod:: new(outline: ~gi.repository.Gsk.RoundedRect, color: ~gi.repository.Gdk.RGBA, dx: float, dy: float, spread: float, blur_radius: float) -> ~gi.repository.Gsk.OutsetShadowNode Creates a ``GskRenderNode`` that will render an outset shadow around the box given by ``outline``. :param outline: outline of the region surrounded by shadow :param color: color of the shadow :param dx: horizontal offset of shadow :param dy: vertical offset of shadow :param spread: how far the shadow spreads towards the inside :param blur_radius: how much blur to apply to the shadow Methods ------- .. rst-class:: interim-class .. class:: OutsetShadowNode :no-index: .. method:: get_blur_radius() -> float Retrieves the blur radius of the shadow. .. method:: get_color() -> ~gi.repository.Gdk.RGBA Retrieves the color of the outset shadow. .. method:: get_dx() -> float Retrieves the horizontal offset of the outset shadow. .. method:: get_dy() -> float Retrieves the vertical offset of the outset shadow. .. method:: get_outline() -> ~gi.repository.Gsk.RoundedRect Retrieves the outline rectangle of the outset shadow. .. method:: get_spread() -> float Retrieves how much the shadow spreads outwards.