Transform

interface Transform

A re-export of d3.ZoomTransform, with the x, y, and k properties overwritten as public variables. D3 strongly advises against messing with its transform objects directly, but we actually want to do that in SODA sometimes.

Properties

k

k: number

The scaling factor described by the Transform.

x

x: number

The x translation described by the Transform.

y

y: number

The y translation described by the Transform.