C# Class UnityEngine.RectOffset

Inheritance: Object
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Add the border offsets to a rect.

public Add ( Rect rect ) : Rect
rect Rect
Résultat Rect

RectOffset() public méthode

Creates a new rectangle with offsets.

public RectOffset ( ) : System
Résultat System

RectOffset() public méthode

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
Résultat System

Remove() public méthode

Remove the border offsets from a rect.

public Remove ( Rect rect ) : Rect
rect Rect
Résultat Rect

ToString() public méthode

public ToString ( ) : string
Résultat string