Constructor
Gsk.OutsetShadowNode.new
Declaration [src]
GskRenderNode*
gsk_outset_shadow_node_new (
const GskRoundedRect* outline,
const GdkRGBA* color,
float dx,
float dy,
float spread,
float blur_radius
)
Description [src]
Creates a GskRenderNode
that will render an outset shadow
around the box given by outline
.
Parameters
outline |
GskRoundedRect |
outline of the region surrounded by shadow |
|
Ownership is not transferred to the callee | |
color |
const GdkRGBA* |
color of the shadow |
|
Ownership is not transferred to the callee | |
dx |
float |
horizontal offset of shadow |
|
dy |
float |
vertical offset of shadow |
|
spread |
float |
how far the shadow spreads towards the inside |
|
blur_radius |
float |
how much blur to apply to the shadow |
Return value
Returns: GskOutsetShadowNode |
|
A new |
|
Ownership of the data is transferred to the caller |