C# Class Invert.Core.GraphDesigner.RectExtensions

Mostrar archivo Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
Add ( this source, Rect add ) : Rect
Normalize ( this r, float scale ) : Rect
Scale ( this style, float scale ) : GUIStyle
Scale ( this r, float scale ) : Rect
Scale ( this r, float scale ) : RectOffset
Snap ( this pos, float snapSize ) : Vector2

Method Details

Add() public static method

public static Add ( this source, Rect add ) : Rect
source this
add UnityEngine.Rect
return UnityEngine.Rect

Normalize() public static method

public static Normalize ( this r, float scale ) : Rect
r this
scale float
return UnityEngine.Rect

Scale() public static method

public static Scale ( this style, float scale ) : GUIStyle
style this
scale float
return UnityEngine.GUIStyle

Scale() public static method

public static Scale ( this r, float scale ) : Rect
r this
scale float
return UnityEngine.Rect

Scale() public static method

public static Scale ( this r, float scale ) : RectOffset
r this
scale float
return UnityEngine.RectOffset

Snap() public static method

public static Snap ( this pos, float snapSize ) : Vector2
pos this
snapSize float
return Vector2