OutsetShadowNode

open class OutsetShadowNode(pointer: <Error class: unknown class><<Error class: unknown class>>) : RenderNode

A render node for an outset shadow.

Constructors

Link copied to clipboard
constructor(outline: RoundedRect, color: <Error class: unknown class>, dx: <Error class: unknown class>, dy: <Error class: unknown class>, spread: <Error class: unknown class>, blurRadius: <Error class: unknown class>)

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

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gskOutsetShadowNodePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getBlurRadius(): <Error class: unknown class>

Retrieves the blur radius of the shadow.

Link copied to clipboard
open fun getBounds(bounds: <Error class: unknown class>)

Retrieves the boundaries of the @node.

Link copied to clipboard
open fun getColor(): <Error class: unknown class>

Retrieves the color of the outset shadow.

Link copied to clipboard
open fun getDx(): <Error class: unknown class>

Retrieves the horizontal offset of the outset shadow.

Link copied to clipboard
open fun getDy(): <Error class: unknown class>

Retrieves the vertical offset of the outset shadow.

Link copied to clipboard

Returns the type of the @node.

Link copied to clipboard
open fun getOpaqueRect(outOpaque: <Error class: unknown class>): Boolean

Gets an opaque rectangle inside the node that GTK can determine to be fully opaque.

Link copied to clipboard

Retrieves the outline rectangle of the outset shadow.

Link copied to clipboard
open fun getSpread(): <Error class: unknown class>

Retrieves how much the shadow spreads outwards.

Link copied to clipboard
open fun ref(): RenderNode

Acquires a reference on the given GskRenderNode.

Link copied to clipboard
open fun serialize(): <Error class: unknown class>

Serializes the @node for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to gsk_render_node_serialize() and gsk_render_node_deserialize() will correctly reject files it cannot open that were created with previous versions of GTK.

Link copied to clipboard
open fun unref()

Releases a reference on the given GskRenderNode.

Link copied to clipboard
open fun writeToFile(filename: String): <Error class: unknown class><Boolean>

This function is equivalent to calling method@Gsk.RenderNode.serialize followed by func@GLib.file_set_contents.