Skip to main content

Interface: ScaleOptions

Options for CanvasApi methods affecting canvas scale.

Extends

Properties

PropertyTypeDescriptionInherited from

animate?

boolean

True if operation should be animated.

If duration is provided and greater than zero then defaults to true, otherwise it is set to false.

ViewportOptions.animate

duration?

number

Animation duration in milliseconds.

Implicitly sets animate: true if greater than zero.

Default

500

ViewportOptions.duration

pivot?

Vector

Scale pivot position in paper coordinates.