Skip to content

HStrut

Overview

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

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

Class HStrut

import { HStrut } from 'scenerystack/scenery';

Constructor

new HStrut( width : number, options? : HStrutOptions )

Instance Methods

Type HStrutOptions

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

SpacerOptions

Source Code

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