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¶
Constructor¶
new Vector2Property( initialValue : Vector2, providedOptions? : Vector2PropertyOptions )¶
Instance Methods¶
Instance Properties¶
validBounds : Bounds2 | null¶
(readonly)
Type Vector2PropertyOptions¶
- validBounds?: Bounds2 | null
- & StrictOmit<PropertyOptions<Vector2>, "phetioValueType" | "valueType">
Source Code¶
See the source for Vector2Property.ts in the dot repository.