OutsetShadowNode.this

Creates a GskRenderNode that will render an outset shadow around the box given by @outline.

  1. this(GskOutsetShadowNode* gskOutsetShadowNode, bool ownedRef)
  2. this(RoundedRect outline, RGBA color, float dx, float dy, float spread, float blurRadius)
    class OutsetShadowNode
    this
    (,,
    float dx
    ,
    float dy
    ,
    float spread
    ,)

Parameters

outline RoundedRect

outline of the region surrounded by 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