Table of Contents

Method Shrink

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Shrink(float?, float?)

Get this object with applied min and max constraints.

public readonly SizeD Shrink(float? maxWidth, float? maxHeight)

Parameters

maxWidth float?

Maximal width.

maxHeight float?

Maximal height.

Returns

SizeD

Shrink(bool, float)

Shrinks the specified size coordinate.

public readonly SizeD Shrink(bool vert, float maxSize)

Parameters

vert bool

Whether to shrink vertical or horizontal size.

maxSize float

Maximal possible value.

Returns

SizeD