Appearance
anim-format (runtime format) / vectorBounds
Function: vectorBounds()
ts
function vectorBounds(v): object;the local bounds of vector art, strokes included (THE box: the SVG's viewBox, the exporter's sprite placement); empty art = 0, 0, 1 × 1
Parameters
| Parameter | Type |
|---|---|
v | AnimVector |
Returns
object
| Name | Type |
|---|---|
h | number |
w | number |
x | number |
y | number |