IGEditorUtils.

StealFromRight(Rect, float) Method

Summary

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

Syntax

public static Rect StealFromRight(ref Rect area, float width)

Parameters

Name Type Description
area Rect
width float

Return Value

Type Description
Rect