GridCell¶
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/layout/constraints/GridCell.ts for the most up-to-date information.
Overview¶
A configurable cell containing a Node used for GridConstraint layout
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class GridCell¶
Instance Methods¶
onLayoutOptionsChange( isInitial )¶
(protected)
Instance Properties¶
size : OrientationPair<number>¶
Type GridCellOptions¶
- row?: number 
 Defines the row (or if height>1, the top-most row) index of the cell. row:0 is the top-most row
- column?: number 
 Defines the column (or if width>1, the left-most column) index of the cell. column:0 is the left-most column.
- horizontalSpan?: number 
 How many columns this one cell spans.
- verticalSpan?: number 
 How many rows this one cell spans
- & ExternalGridConfigurableOptions
Source Code¶
See the source for GridCell.ts in the scenery repository.