Skip to content

Vector2Property

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/Vector2Property.ts for the most up-to-date information.

Overview

Property whose value must be a Vector2.

@author Sam Reid (PhET Interactive Simulations)

Class Vector2Property

import { Vector2Property } from 'scenerystack/dot';

Constructor

new Vector2Property( initialValue : Vector2, providedOptions? : Vector2PropertyOptions )

Instance Methods

Instance Properties

validBounds : Bounds2 | null

(readonly)

Type Vector2PropertyOptions

import type { Vector2PropertyOptions } from 'scenerystack/dot';

Source Code

See the source for Vector2Property.ts in the dot repository.