GroupNode

open class GroupNode(val children: MutableList<CompositionNode> = mutableListOf()) : CompositionNode(source)

A CompositionNode that functions as a group node

Inheritors

Constructors

Link copied to clipboard
constructor(children: MutableList<CompositionNode> = mutableListOf())

Functions

Link copied to clipboard
fun copy(id: String? = this.id, parent: CompositionNode? = null, style: Style = this.style, children: MutableList<CompositionNode> = this.children): GroupNode
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard

Finds first CompositionNode to match the given predicate.

Link copied to clipboard
Link copied to clipboard

find all descendant GroupNode nodes, including potentially this node

Link copied to clipboard

find all descendant ImageNode nodes, including potentially this node

Link copied to clipboard

find all descendant ShapeNode nodes, including potentially this node

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard

remove node from its parent CompositionNode

Link copied to clipboard

visit this CompositionNode and all descendant nodes and execute visitor

Properties

Link copied to clipboard

Custom attributes to be applied to the Node in addition to the Style attributes.

Link copied to clipboard
open override val bounds: Rectangle

a Rectangle that describes the bounding box of the contents

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This CompositionNode's computed style. Where every style attribute is obtained by overwriting the Style in the following order:

Link copied to clipboard

Calculates the absolute transformation of the current node.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This CompositionNode's own style.

Link copied to clipboard
Link copied to clipboard

a map that stores user data