Composition
class Composition(val root: CompositionNode, var bounds: CompositionDimensions = defaultCompositionDimensions)(source)
A vector composition.
Parameters
root
the root node of the composition
bounds
the dimensions of the composition
Functions
Link copied to clipboard
Calculates effective viewport transformation using viewBox and preserveAspectRatio. As per the SVG 2.0 spec.
Link copied to clipboard
Draw into an existing Composition.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard