OutsetShadowNode
- class OutsetShadowNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
OutsetShadowNode(**properties)
new(outline:Gsk.RoundedRect, color:Gdk.RGBA, dx:float, dy:float, spread:float, blur_radius:float) -> Gsk.OutsetShadowNode
Constructors
- class OutsetShadowNode
- classmethod new(outline: RoundedRect, color: RGBA, dx: float, dy: float, spread: float, blur_radius: float) OutsetShadowNode
Creates a
GskRenderNode
that will render an outset shadow around the box given byoutline
.- Parameters:
outline – outline of the region surrounded by shadow
color – color of the shadow
dx – horizontal offset of shadow
dy – vertical offset of shadow
spread – how far the shadow spreads towards the inside
blur_radius – how much blur to apply to the shadow
Methods
- class OutsetShadowNode
-
- get_outline() RoundedRect
Retrieves the outline rectangle of the outset shadow.