Table of Contents

Enum Stretch

Namespace
Northwoods.Go
Assembly
Northwoods.GoDiagram.WinForms.dll

This enumeration specifies possible values for Stretch.

public enum Stretch

Fields

Default = 0

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

Fill = 4

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 = 2

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

None = 1

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

Vertical = 3

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