C# 클래스 System.Drawing.RectangleF

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

공개 프로퍼티들

프로퍼티 타입 설명
Empty RectangleF
Empty System.Drawing.RectangleF

공개 메소드들

메소드 설명
Contains ( System pt ) : bool
Equals ( object obj ) : bool

Tests whether obj is a with the same location and size of this .

FromLTRB ( float left, float top, float right, float bottom ) : RectangleF

Creates a new with the specified location and size.

FromLTRB ( float left, float top, float right, float bottom ) : System.Drawing.RectangleF
GetHashCode ( ) : int

Gets the hash code for this .

Inflate ( RectangleF rect, float x, float y ) : RectangleF

Creates a that is inflated by the specified amount.

Inflate ( System rect, float x, float y ) : System.Drawing.RectangleF
Inflate ( SizeF size ) : void

Inflates this by the specified amount.

Inflate ( System size ) : void
Inflate ( float x, float y ) : void

Inflates this by the specified amount.

Intersect ( System a, System b ) : System.Drawing.RectangleF
Intersect ( RectangleF rect ) : void

Creates a Rectangle that represents the intersection between this Rectangle and rect.

Intersect ( System rect ) : void
IntersectsWith ( System rect ) : bool
Offset ( PointF pos ) : void

Adjusts the location of this rectangle by the specified amount.

Offset ( System pos ) : void
Offset ( float x, float y ) : void

Adjusts the location of this rectangle by the specified amount.

RectangleF ( System location, System size )
RectangleF ( float x, float y, float width, float height )
RectangleF ( PointF location, SizeF size ) : System.Diagnostics.Contracts

Initializes a new instance of the class with the specified location and size.

RectangleF ( float x, float y, float width, float height ) : System.Diagnostics.Contracts

Initializes a new instance of the class with the specified location and size.

ToString ( ) : string

Converts the and of this to a human-readable string.

Union ( System a, System b ) : System.Drawing.RectangleF
operator ( ) : bool

Tests whether two objects have equal location and size.

비공개 메소드들

메소드 설명
Contains ( PointF pt ) : bool
Contains ( RectangleF rect ) : bool
Contains ( float x, float y ) : bool
Intersect ( RectangleF a, RectangleF b ) : RectangleF
IntersectsWith ( RectangleF rect ) : bool
Union ( RectangleF a, RectangleF b ) : RectangleF

메소드 상세

Contains() 공개 메소드

public Contains ( System pt ) : bool
pt System
리턴 bool

Equals() 공개 메소드

Tests whether obj is a with the same location and size of this .

public Equals ( object obj ) : bool
obj object
리턴 bool

FromLTRB() 공개 정적인 메소드

Creates a new with the specified location and size.

public static FromLTRB ( float left, float top, float right, float bottom ) : RectangleF
left float
top float
right float
bottom float
리턴 RectangleF

FromLTRB() 공개 정적인 메소드

public static FromLTRB ( float left, float top, float right, float bottom ) : System.Drawing.RectangleF
left float
top float
right float
bottom float
리턴 System.Drawing.RectangleF

GetHashCode() 공개 메소드

Gets the hash code for this .
public GetHashCode ( ) : int
리턴 int

Inflate() 공개 정적인 메소드

Creates a that is inflated by the specified amount.

public static Inflate ( RectangleF rect, float x, float y ) : RectangleF
rect RectangleF
x float
y float
리턴 RectangleF

Inflate() 공개 정적인 메소드

public static Inflate ( System rect, float x, float y ) : System.Drawing.RectangleF
rect System
x float
y float
리턴 System.Drawing.RectangleF

Inflate() 공개 메소드

Inflates this by the specified amount.
public Inflate ( SizeF size ) : void
size SizeF
리턴 void

Inflate() 공개 메소드

public Inflate ( System size ) : void
size System
리턴 void

Inflate() 공개 메소드

Inflates this by the specified amount.

public Inflate ( float x, float y ) : void
x float
y float
리턴 void

Intersect() 공개 정적인 메소드

public static Intersect ( System a, System b ) : System.Drawing.RectangleF
a System
b System
리턴 System.Drawing.RectangleF

Intersect() 공개 메소드

Creates a Rectangle that represents the intersection between this Rectangle and rect.
public Intersect ( RectangleF rect ) : void
rect RectangleF
리턴 void

Intersect() 공개 메소드

public Intersect ( System rect ) : void
rect System
리턴 void

IntersectsWith() 공개 메소드

public IntersectsWith ( System rect ) : bool
rect System
리턴 bool

Offset() 공개 메소드

Adjusts the location of this rectangle by the specified amount.
public Offset ( PointF pos ) : void
pos PointF
리턴 void

Offset() 공개 메소드

public Offset ( System pos ) : void
pos System
리턴 void

Offset() 공개 메소드

Adjusts the location of this rectangle by the specified amount.
public Offset ( float x, float y ) : void
x float
y float
리턴 void

RectangleF() 공개 메소드

public RectangleF ( System location, System size )
location System
size System

RectangleF() 공개 메소드

public RectangleF ( float x, float y, float width, float height )
x float
y float
width float
height float

RectangleF() 공개 메소드

Initializes a new instance of the class with the specified location and size.

public RectangleF ( PointF location, SizeF size ) : System.Diagnostics.Contracts
location PointF
size SizeF
리턴 System.Diagnostics.Contracts

RectangleF() 공개 메소드

Initializes a new instance of the class with the specified location and size.

public RectangleF ( float x, float y, float width, float height ) : System.Diagnostics.Contracts
x float
y float
width float
height float
리턴 System.Diagnostics.Contracts

ToString() 공개 메소드

Converts the and of this to a human-readable string.
public ToString ( ) : string
리턴 string

Union() 공개 정적인 메소드

public static Union ( System a, System b ) : System.Drawing.RectangleF
a System
b System
리턴 System.Drawing.RectangleF

operator() 공개 정적인 메소드

Tests whether two objects have equal location and size.

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

Initializes a new instance of the class.
public static RectangleF,System.Drawing Empty
리턴 RectangleF

Empty 공개적으로 정적으로 프로퍼티

public static System.Drawing.RectangleF Empty
리턴 System.Drawing.RectangleF