Skip to content

HBox

Overview

HBox is a convenience specialization of FlowBox with horizontal orientation.

@author Jonathan Olson <jonathan.olson@colorado.edu> @author Sam Reid (PhET Interactive Simulations)

Class HBox

import { HBox } from 'scenerystack/scenery';

Constructor

new HBox( providedOptions? : HBoxOptions )

Instance Methods

onFlowBoxChildInserted( node : Node, index : number )

(protected)

mutate( options? : HBoxOptions ) : this

Type HBoxOptions

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

StrictOmit<FlowBoxOptions, "orientation">

Source Code

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