InsetShadowNode.this

Creates a GskRenderNode that will render an inset shadow into the box given by @outline.

  1. this(GskInsetShadowNode* gskInsetShadowNode, bool ownedRef)
  2. this(RoundedRect outline, RGBA color, float dx, float dy, float spread, float blurRadius)
    class InsetShadowNode
    this
    (,,
    float dx
    ,
    float dy
    ,
    float spread
    ,)

Parameters

outline RoundedRect

outline of the region containing the shadow

color RGBA

color of the shadow

dx float

horizontal offset of shadow

dy float

vertical offset of shadow

spread float

how far the shadow spreads towards the inside

blurRadius float

how much blur to apply to the shadow

Return Value

A new GskRenderNode

Throws

ConstructionException GTK+ fails to create the object.

Meta