GroupNode

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

A CompositionNode that functions as a group node

Constructors

Link copied to clipboard
fun GroupNode(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
open override fun hashCode(): Int

Properties

Link copied to clipboard
var attributes: MutableMap<String, String?>

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
open val children: MutableList<CompositionNode>
Link copied to clipboard
val effectiveDisplay: Boolean
Link copied to clipboard
val effectiveFill: ColorRGBa?
Link copied to clipboard
val effectiveFillOpacity: Double
Link copied to clipboard
val effectiveLineCap: LineCap
Link copied to clipboard
val effectiveLineJoin: LineJoin
Link copied to clipboard
val effectiveMiterLimit: Double
Link copied to clipboard
val effectiveOpacity: Double
Link copied to clipboard
val effectiveShadeStyle: ShadeStyle
Link copied to clipboard
val effectiveStroke: ColorRGBa?
Link copied to clipboard
val effectiveStrokeOpacity: Double
Link copied to clipboard
val effectiveStrokeWeight: Double
Link copied to clipboard
val effectiveStyle: Style

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

Link copied to clipboard
val effectiveTransform: Matrix44

Calculates the absolute transformation of the current node.

Link copied to clipboard
val effectiveVisibility: Boolean
Link copied to clipboard
var fill: ColorRGBa?
Link copied to clipboard
var fillOpacity: Double
Link copied to clipboard
var id: String? = null
Link copied to clipboard
var lineCap: LineCap
Link copied to clipboard
var lineJoin: LineJoin
Link copied to clipboard
var miterLimit: Double
Link copied to clipboard
var opacity: Double
Link copied to clipboard
var parent: CompositionNode? = null
Link copied to clipboard
var shadeStyle: ShadeStyle
Link copied to clipboard
var stroke: ColorRGBa?
Link copied to clipboard
var strokeOpacity: Double
Link copied to clipboard
var strokeWeight: Double
Link copied to clipboard
var style: Style

This CompositionNode's own style.

Link copied to clipboard
var transform: Matrix44
Link copied to clipboard
val userData: MutableMap<String, Any>

a map that stores user data

Inheritors

Link copied to clipboard

Sources

Link copied to clipboard