flatten

fun flatten(composition: Composition? = null): ShapeNode(source)

apply transforms of all ancestor nodes and return a new detached shape node with identity transform and transformed Shape

Parameters

composition

use viewport transform