Skip to content

VStrut

Under Construction

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

Overview

A Node meant to just take up vertical space (usually for layout purposes). It is never displayed, and cannot have children.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class VStrut

import { VStrut } from 'scenerystack/scenery';

Constructor

new VStrut( height : number, options? : VStrutOptions )

Instance Methods

Type VStrutOptions

import type { VStrutOptions } from 'scenerystack/scenery';

SpacerOptions

Source Code

See the source for VStrut.ts in the scenery repository.