C# 클래스 Knot3.Framework.Math.Bounds

파일 보기 프로젝트 열기: knot3/knot3-code 1 사용 예제들

공개 메소드들

메소드 설명
Bounds ( IScreen screen, float relX, float relY, float relWidth, float relHeight ) : System
Bounds ( ScreenPoint position, ScreenPoint size ) : System
Bounds ( ScreenPoint position, ScreenPoint size, ScreenPoint padding ) : System
Contains ( Point point ) : bool
Contains ( ScreenPoint point ) : bool
FromBottom ( Func percent ) : Bounds
FromBottom ( float percent ) : Bounds
FromLeft ( Func percent ) : Bounds
FromLeft ( float percent ) : Bounds
FromRight ( Func percent ) : Bounds
FromRight ( float percent ) : Bounds
FromTop ( Func percent ) : Bounds
FromTop ( float percent ) : Bounds
Grow ( int xy ) : Bounds
Grow ( int x, int y ) : Bounds
In ( Bounds container ) : Bounds
Shrink ( int xy ) : Bounds
Shrink ( int x, int y ) : Bounds
Zero ( IScreen screen ) : Bounds

비공개 메소드들

메소드 설명
ToString ( ) : string

메소드 상세

Bounds() 공개 메소드

public Bounds ( IScreen screen, float relX, float relY, float relWidth, float relHeight ) : System
screen IScreen
relX float
relY float
relWidth float
relHeight float
리턴 System

Bounds() 공개 메소드

public Bounds ( ScreenPoint position, ScreenPoint size ) : System
position ScreenPoint
size ScreenPoint
리턴 System

Bounds() 공개 메소드

public Bounds ( ScreenPoint position, ScreenPoint size, ScreenPoint padding ) : System
position ScreenPoint
size ScreenPoint
padding ScreenPoint
리턴 System

Contains() 공개 메소드

public Contains ( Point point ) : bool
point Point
리턴 bool

Contains() 공개 메소드

public Contains ( ScreenPoint point ) : bool
point ScreenPoint
리턴 bool

FromBottom() 공개 메소드

public FromBottom ( Func percent ) : Bounds
percent Func
리턴 Bounds

FromBottom() 공개 메소드

public FromBottom ( float percent ) : Bounds
percent float
리턴 Bounds

FromLeft() 공개 메소드

public FromLeft ( Func percent ) : Bounds
percent Func
리턴 Bounds

FromLeft() 공개 메소드

public FromLeft ( float percent ) : Bounds
percent float
리턴 Bounds

FromRight() 공개 메소드

public FromRight ( Func percent ) : Bounds
percent Func
리턴 Bounds

FromRight() 공개 메소드

public FromRight ( float percent ) : Bounds
percent float
리턴 Bounds

FromTop() 공개 메소드

public FromTop ( Func percent ) : Bounds
percent Func
리턴 Bounds

FromTop() 공개 메소드

public FromTop ( float percent ) : Bounds
percent float
리턴 Bounds

Grow() 공개 메소드

public Grow ( int xy ) : Bounds
xy int
리턴 Bounds

Grow() 공개 메소드

public Grow ( int x, int y ) : Bounds
x int
y int
리턴 Bounds

In() 공개 메소드

public In ( Bounds container ) : Bounds
container Bounds
리턴 Bounds

Shrink() 공개 메소드

public Shrink ( int xy ) : Bounds
xy int
리턴 Bounds

Shrink() 공개 메소드

public Shrink ( int x, int y ) : Bounds
x int
y int
리턴 Bounds

Zero() 공개 정적인 메소드

public static Zero ( IScreen screen ) : Bounds
screen IScreen
리턴 Bounds