Table of Contents

Field InflateDelta

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

Represents a predefined vector used to adjust the dimensions of a rectangle or bounding box.

public static readonly Vector4 InflateDelta

Returns

Vector4
Represents a predefined vector used to adjust the dimensions of a rectangle or bounding box.

Remarks

The vector components are defined as (-1, -1, 2, 2), which can be used to "inflate" a rectangle by decreasing its position by 1 unit on both the X and Y axes and increasing its width and height by 2 units each. This is commonly used in scenarios where padding or margin adjustments are required.