Skip to content

Vector2Property

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.