UnityEngine.RectOffset.RectOffset C# (CSharp) Method

RectOffset() public method

Creates a new rectangle with offsets.

public RectOffset ( int left, int right, int top, int bottom ) : System
left int
right int
top int
bottom int
return System
        public RectOffset(int left, int right, int top, int bottom)
        {
            this.Init();
            this.left = left;
            this.right = right;
            this.top = top;
            this.bottom = bottom;
        }

Same methods

RectOffset::RectOffset ( ) : System
RectOffset::RectOffset ( GUIStyle sourceStyle, IntPtr source ) : System