Position class

A utility for altering positions using mixed units.

Signature:

declare class Position 

Constructors

Constructor

Modifiers

Description

(constructor)({ boundingBox, flipY, ratio, })

Constructs a new instance of the Position class

Methods

Method

Modifiers

Description

from(position)

fromNode(node)

static

getDistance(position, unit)

getPosition(unit)

move(direction, distance, unit)

setRatio(ratio)

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.