C# Class Invert.Core.GraphDesigner.RectLayoutExtensions

ファイルを表示 Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
Above ( this source, Rect target ) : Rect
AboveAll ( this source, Rect target, int i ) : Rect
AddHeight ( this source, int height ) : Rect
AddWidth ( this source, int width ) : Rect
Align ( this source, Rect target ) : Rect
AlignAndScale ( this source, Rect target ) : Rect
AlignHorisonallyByCenter ( this source, Rect target ) : Rect
AlignHorisontally ( this source, Rect target ) : Rect
AlignTopRight ( this source, Rect target ) : Rect
AlignVertically ( this source, Rect target ) : Rect
AlignVerticallyByCenter ( this source, Rect target ) : Rect
Below ( this source, Rect belowSource ) : Rect
BottomHalf ( this source ) : Rect
CenterInsideOf ( this source, Rect target ) : Rect
Clip ( this source, Rect target ) : Rect
Cover ( this source ) : Rect
InnerAlignWithBottomCenter ( this source, Rect target ) : Rect
InnerAlignWithBottomLeft ( this source, Rect target ) : Rect
InnerAlignWithBottomRight ( this source, Rect target ) : Rect
InnerAlignWithCenterLeft ( this source, Rect target ) : Rect
InnerAlignWithCenterRight ( this source, Rect target ) : Rect
InnerAlignWithUpperRight ( this source, Rect target ) : Rect
LeftHalf ( this source ) : Rect
LeftOf ( this source, Rect target ) : Rect
Pad ( this source, float left, float top, float right, float bottom ) : Rect
PadSides ( this source, float padding ) : Rect
RightHalf ( this source ) : Rect
RightOf ( this source, Rect target ) : Rect
StretchedVerticallyAlong ( this source, Rect target ) : Rect
TopHalf ( this source ) : Rect
Translate ( this source, float x, float y ) : Rect
WithHeight ( this source, float height ) : Rect
WithOrigin ( this source, float x, float y ) : Rect
WithSize ( this source, float width, float height ) : Rect
WithWidth ( this source, float width ) : Rect

Method Details

Above() public static method

public static Above ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AboveAll() public static method

public static AboveAll ( this source, Rect target, int i ) : Rect
source this
target UnityEngine.Rect
i int
return UnityEngine.Rect

AddHeight() public static method

public static AddHeight ( this source, int height ) : Rect
source this
height int
return UnityEngine.Rect

AddWidth() public static method

public static AddWidth ( this source, int width ) : Rect
source this
width int
return UnityEngine.Rect

Align() public static method

public static Align ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignAndScale() public static method

public static AlignAndScale ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignHorisonallyByCenter() public static method

public static AlignHorisonallyByCenter ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignHorisontally() public static method

public static AlignHorisontally ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignTopRight() public static method

public static AlignTopRight ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignVertically() public static method

public static AlignVertically ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

AlignVerticallyByCenter() public static method

public static AlignVerticallyByCenter ( this source, Rect target ) : Rect
source this
target UnityEngine.Rect
return UnityEngine.Rect

Below() public static method

public static Below ( this source, Rect belowSource ) : Rect
source this
belowSource UnityEngine.Rect
return UnityEngine.Rect

BottomHalf() public static method

public static BottomHalf ( this source ) : Rect
source this
return UnityEngine.Rect

CenterInsideOf() public static method

public static CenterInsideOf ( this source, Rect target ) : Rect
source this
target Rect
return Rect

Clip() public static method

public static Clip ( this source, Rect target ) : Rect
source this
target Rect
return Rect

Cover() public static method

public static Cover ( this source ) : Rect
source this
return Rect

InnerAlignWithBottomCenter() public static method

public static InnerAlignWithBottomCenter ( this source, Rect target ) : Rect
source this
target Rect
return Rect

InnerAlignWithBottomLeft() public static method

public static InnerAlignWithBottomLeft ( this source, Rect target ) : Rect
source this
target Rect
return Rect

InnerAlignWithBottomRight() public static method

public static InnerAlignWithBottomRight ( this source, Rect target ) : Rect
source this
target Rect
return Rect

InnerAlignWithCenterLeft() public static method

public static InnerAlignWithCenterLeft ( this source, Rect target ) : Rect
source this
target Rect
return Rect

InnerAlignWithCenterRight() public static method

public static InnerAlignWithCenterRight ( this source, Rect target ) : Rect
source this
target Rect
return Rect

InnerAlignWithUpperRight() public static method

public static InnerAlignWithUpperRight ( this source, Rect target ) : Rect
source this
target Rect
return Rect

LeftHalf() public static method

public static LeftHalf ( this source ) : Rect
source this
return Rect

LeftOf() public static method

public static LeftOf ( this source, Rect target ) : Rect
source this
target Rect
return Rect

Pad() public static method

public static Pad ( this source, float left, float top, float right, float bottom ) : Rect
source this
left float
top float
right float
bottom float
return Rect

PadSides() public static method

public static PadSides ( this source, float padding ) : Rect
source this
padding float
return Rect

RightHalf() public static method

public static RightHalf ( this source ) : Rect
source this
return Rect

RightOf() public static method

public static RightOf ( this source, Rect target ) : Rect
source this
target Rect
return Rect

StretchedVerticallyAlong() public static method

public static StretchedVerticallyAlong ( this source, Rect target ) : Rect
source this
target Rect
return Rect

TopHalf() public static method

public static TopHalf ( this source ) : Rect
source this
return Rect

Translate() public static method

public static Translate ( this source, float x, float y ) : Rect
source this
x float
y float
return Rect

WithHeight() public static method

public static WithHeight ( this source, float height ) : Rect
source this
height float
return Rect

WithOrigin() public static method

public static WithOrigin ( this source, float x, float y ) : Rect
source this
x float
y float
return Rect

WithSize() public static method

public static WithSize ( this source, float width, float height ) : Rect
source this
width float
height float
return Rect

WithWidth() public static method

public static WithWidth ( this source, float width ) : Rect
source this
width float
return Rect