1.34 <GskRoundedClipNode>

Class: <GskRoundedClipNode>

It derives from <GskRenderNode>.

A render node applying a rounded rectangle clip to its single child.

Procedures

Method: rounded-clip-node:get-child self ⇒ %return
Method: get-child self ⇒ %return

Gets the child node that is getting clipped by the given self.

self

Passed: a <GskRoundedClipNode>.

a rounded clip <GskRenderNode>

%return

Returned: a <GskRenderNode>.

The child that is getting clipped

Method: rounded-clip-node:get-clip self ⇒ %return
Method: get-clip self ⇒ %return

Retrieves the rounded rectangle used to clip the contents of the self.

self

Passed: a <GskRoundedClipNode>.

a rounded clip <GskRenderNode>

%return

Returned: a <GskRoundedRect>.

a rounded rectangle

Procedure: rounded-clip-node:new child clip ⇒ %return

Creates a <GskRenderNode> that will clip the child to the area given by clip.

child

Passed: a <GskRenderNode>.

The node to draw

clip

Passed: a <GskRoundedRect>.

The clip to apply

%return

Returned: a <GskRoundedClipNode>.

A new <GskRenderNode>