1.27 <GskPasteNode>

Class: <GskPasteNode>

It derives from <GskRenderNode>.

A render node for a paste.

Procedures

Method: paste-node:get-depth self ⇒ %return
Method: get-depth self ⇒ %return

Retrieves the index of the copy that should be pasted.

self

Passed: a <GskPasteNode>.

a <GskRenderNode>

%return

Returned: an unsigned 64-bit integer.

the index of the copy to paste.

Procedure: paste-node:new bounds depth ⇒ %return

Creates a <GskRenderNode> that will paste copied contents.

bounds

Passed: a <GrapheneRect>.

the rectangle to render the paste into

depth

Passed: an unsigned 64-bit integer.

the index of which copy to paste. This will usually be 0.

%return

Returned: a <GskPasteNode>.

A new <GskRenderNode>