Skip to content

VStrut

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.