C# Class UnityEngine.RectOffset

Inheritance: Object
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Add ( Rect rect ) : Rect

Add the border offsets to a rect.

RectOffset ( ) : System

Creates a new rectangle with offsets.

RectOffset ( int left, int right, int top, int bottom ) : System

Creates a new rectangle with offsets.

Remove ( Rect rect ) : Rect

Remove the border offsets from a rect.

ToString ( ) : string

Private Methods

Method Description
Cleanup ( ) : void
INTERNAL_CALL_Add ( RectOffset self, Rect &rect, Rect &value ) : void
INTERNAL_CALL_Remove ( RectOffset self, Rect &rect, Rect &value ) : void
Init ( ) : void
RectOffset ( GUIStyle sourceStyle, IntPtr source ) : System

Method Details

Add() public method

Add the border offsets to a rect.

public Add ( Rect rect ) : Rect
rect Rect
return Rect

RectOffset() public method

Creates a new rectangle with offsets.

public RectOffset ( ) : System
return System

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

Remove() public method

Remove the border offsets from a rect.

public Remove ( Rect rect ) : Rect
rect Rect
return Rect

ToString() public method

public ToString ( ) : string
return string