Skip to main content
AlignContentToFaceOptions
Options for aligning content to a specific position in the UI.
NameTypeDescription
animationDuration?numberHow long, in milliseconds, the animation should take to run.
doNotAnimate?booleanIf true, don't animate while centering. Defaults to false, ie. the operation will be animated.
onComplete?(p:PointXY) => anyOptional function to call on operation complete.
zoom?numberZoom level to set during the alignment