C# 클래스 OpenTK.Box2

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Bottom float
Left float
Right float
Top float

공개 메소드들

메소드 설명
Box2 ( System.Vector2 topLeft, System.Vector2 bottomRight ) : System

Constructs a new Box2 with the specified dimensions.

Box2 ( float left, float top, float right, float bottom ) : System

Constructs a new Box2 with the specified dimensions.

FromTLRB ( float top, float left, float right, float bottom ) : Box2

Creates a new Box2 with the specified dimensions.

ToString ( ) : string

Returns a System.String describing the current instance.

메소드 상세

Box2() 공개 메소드

Constructs a new Box2 with the specified dimensions.
public Box2 ( System.Vector2 topLeft, System.Vector2 bottomRight ) : System
topLeft System.Vector2 AnOpenTK.Vector2 describing the top-left corner of the Box2.
bottomRight System.Vector2 An OpenTK.Vector2 describing the bottom-right corner of the Box2.
리턴 System

Box2() 공개 메소드

Constructs a new Box2 with the specified dimensions.
public Box2 ( float left, float top, float right, float bottom ) : System
left float The position of the left boundary.
top float The position of the top boundary.
right float The position of the right boundary.
bottom float The position of the bottom boundary.
리턴 System

FromTLRB() 공개 정적인 메소드

Creates a new Box2 with the specified dimensions.
public static FromTLRB ( float top, float left, float right, float bottom ) : Box2
top float The position of the top boundary.
left float The position of the left boundary.
right float The position of the right boundary.
bottom float The position of the bottom boundary.
리턴 Box2

ToString() 공개 메소드

Returns a System.String describing the current instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

Bottom 공개적으로 프로퍼티

The bottom boundary of the structure.
public float Bottom
리턴 float

Left 공개적으로 프로퍼티

The left boundary of the structure.
public float Left
리턴 float

Right 공개적으로 프로퍼티

The right boundary of the structure.
public float Right
리턴 float

Top 공개적으로 프로퍼티

The top boundary of the structure.
public float Top
리턴 float