# Enumeration Stretch

GoJS® Diagramming Components
version 3.0.7
by Northwoods Software®

This enumeration specifies possible values for GraphObject.stretch.

`since`

3.0

#####
Index

### Enumeration Members

Default
Fill
Horizontal
None
Vertical

## Enumeration Members

### Default

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

### Fill

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

### Horizontal

Scale the object as much as possible in the x-axis.

### None

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

### Vertical

Scale the object as much as possible in the y-axis.

Copyright © 1998-2024 by Northwoods Software Corporation.