C# 클래스 ZForge.Controls.ExplorerBar.RECT

파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bottom int
left int
right int
top int

공개 메소드들

메소드 설명
FromRectangle ( Rectangle rect ) : RECT

Creates a new RECT struct from the specified Rectangle

FromXYWH ( int x, int y, int width, int height ) : RECT

Creates a new RECT struct with the specified location and size

RECT ( int left, int top, int right, int bottom ) : System

Creates a new RECT struct with the specified location and size

ToRectangle ( ) : Rectangle

Returns a Rectangle with the same location and size as the RECT

메소드 상세

FromRectangle() 공개 정적인 메소드

Creates a new RECT struct from the specified Rectangle
public static FromRectangle ( Rectangle rect ) : RECT
rect System.Drawing.Rectangle The Rectangle to create the RECT from
리턴 RECT

FromXYWH() 공개 정적인 메소드

Creates a new RECT struct with the specified location and size
public static FromXYWH ( int x, int y, int width, int height ) : RECT
x int The x-coordinate of the upper-left corner of the RECT
y int The y-coordinate of the upper-left corner of the RECT
width int The width of the RECT
height int The height of the RECT
리턴 RECT

RECT() 공개 메소드

Creates a new RECT struct with the specified location and size
public RECT ( int left, int top, int right, int bottom ) : System
left int The x-coordinate of the upper-left corner of the RECT
top int The y-coordinate of the upper-left corner of the RECT
right int The x-coordinate of the lower-right corner of the RECT
bottom int The y-coordinate of the lower-right corner of the RECT
리턴 System

ToRectangle() 공개 메소드

Returns a Rectangle with the same location and size as the RECT
public ToRectangle ( ) : Rectangle
리턴 System.Drawing.Rectangle

프로퍼티 상세

bottom 공개적으로 프로퍼티

Specifies the y-coordinate of the lower-right corner of the RECT
public int bottom
리턴 int

left 공개적으로 프로퍼티

Specifies the x-coordinate of the upper-left corner of the RECT
public int left
리턴 int

right 공개적으로 프로퍼티

Specifies the x-coordinate of the lower-right corner of the RECT
public int right
리턴 int

top 공개적으로 프로퍼티

Specifies the y-coordinate of the upper-left corner of the RECT
public int top
리턴 int