Skip to main content

AlignContentToFaceOptions

Options for aligning content to a specific position in the UI.

Properties

animationDuration?

optional animationDuration: number

How long, in milliseconds, the animation should take to run.


doNotAnimate?

optional doNotAnimate: boolean

If true, don't animate while centering. Defaults to false, ie. the operation will be animated.


onComplete()?

optional onComplete: (p) => any

Optional function to call on operation complete.

Parameters

p

PointXY

Returns

any


zoom?

optional zoom: number

Zoom level to set during the alignment