# Enumeration GeometryStretch

GoJS® Diagramming Components
version 3.0.0-b6
by Northwoods Software®

This enumeration specifies possible values for Shape.geometryStretch and Geometry.defaultStretch.

`since`

3.0

#####
Index

### Enumeration Members

Default
Fill
None
Uniform

## Enumeration Members

### Default

Scale the geometry depending on context, for instance uniformly for a "Circle" figure and non-uniformly for an "Ellipse" figure.

### Fill

Scale the geometry in both directions so as to fit exactly in the given bounds; there is no clipping, but the aspect ratio may change, causing the geometry to appear stretched.

### None

Do not scale the geometry; there may be clipping in one or both directions if the available dimensions are too small.

### Uniform

Scale the geometry equally in both directions to fit the given bounds.

Copyright © 1998-2024 by Northwoods Software Corporation.