IGEditorUtils.

StealFromLeft(Rect, float, RectOffset) Method

Summary

Subtracts the `width` from the left side of the `area` and returns a new UnityEngine.Rect occupying the removed section.

Syntax

public static Rect StealFromLeft(ref Rect area, float width, RectOffset padding)

Parameters

Name Type Description
area Rect
width float
padding RectOffset

Return Value

Type Description
Rect