Skip to content

Spacer

Overview

A Node meant to just take up certain bounds. It is never displayed, and cannot have children.

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

Class Spacer

import { Spacer } from 'scenerystack/scenery';

Constructor

new Spacer( width : number, height : number, options? : SpacerOptions )

Instance Methods

Type SpacerOptions

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

NodeOptions

Source Code

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