C# 클래스 Evbpc.Framework.Drawing.RectangleF

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

공개 프로퍼티들

프로퍼티 타입 설명
Empty RectangleF

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Contains ( PointF pt ) : bool

Determines if a PointF is contained within the current RectangleF.

Contains ( RectangleF rect ) : bool

Determines if a RectangleF is entirely contained within this RectangleF.

Contains ( float x, float y ) : bool

Determines if the position represented by x and y is contained within the current RectangleF.

This method is entirely inclusive. If the position represented by the x and y values is on the edge of, or entirely within the current RectangleF, then this method will return true.

Equals ( Object obj ) : bool

Determines if the current RectangleF is equal to the specified object.

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

Constructs a new instance of RectangleF from the specified Left, Top, Right, and Bottom values.

GetHashCode ( ) : int

Gets a hash code for the current RectangleF.

Inflate ( RectangleF rect, float width, float height ) : RectangleF

Increases the Size of the Rectangle by the specified values.

Inflate ( SizeF size ) : RectangleF

Increases the Size of the RectangleF by the specified Drawing.SizeF.

Inflate ( float width, float height ) : RectangleF

Increases the Size of the RectangleF by the specified values.

Intersect ( RectangleF rect ) : RectangleF

Creates a new RectangleF which is the area that overlaps this and the provided RectangleF objects.

Intersect ( RectangleF a, RectangleF b ) : RectangleF

Creates a new RectangleF which is the area that overlaps the provided RectangleF objects.

IntersectsWith ( RectangleF rect ) : bool

Determines if any corner of the provided RectangleF overlaps this RectangleF.

Offset ( PointF pos ) : RectangleF

Moves this RectangleF by the specified PointF.

Offset ( float x, float y ) : RectangleF

Moves this RectangleF by the specified values.

RectangleF ( PointF location, SizeF size ) : System

Constructs a new instance of RectangleF from the specified PointF and SizeF.

RectangleF ( float x, float y, float width, float height ) : System

Constructs a new instance of RectangleF from the specified X, Y, Width and Height.

ToString ( ) : string

Gets a string representation of a RectangleF.

Union ( RectangleF a, RectangleF b ) : RectangleF

Gets a RectangleF structure that contains the union of two RectangleF structures.

operator ( ) : bool

Determines if two RectangleF structures are equivalent.

메소드 상세

Contains() 공개 메소드

Determines if a PointF is contained within the current RectangleF.
public Contains ( PointF pt ) : bool
pt PointF The to test.
리턴 bool

Contains() 공개 메소드

Determines if a RectangleF is entirely contained within this RectangleF.
public Contains ( RectangleF rect ) : bool
rect RectangleF The to test.
리턴 bool

Contains() 공개 메소드

Determines if the position represented by x and y is contained within the current RectangleF.
This method is entirely inclusive. If the position represented by the x and y values is on the edge of, or entirely within the current RectangleF, then this method will return true.
public Contains ( float x, float y ) : bool
x float The x value of the position to test.
y float The y value of the position to test.
리턴 bool

Equals() 공개 메소드

Determines if the current RectangleF is equal to the specified object.
public Equals ( Object obj ) : bool
obj Object The object to compare to the current .
리턴 bool

FromLTRB() 공개 정적인 메소드

Constructs a new instance of RectangleF from the specified Left, Top, Right, and Bottom values.
public static FromLTRB ( float left, float top, float right, float bottom ) : RectangleF
left float The position of the .
top float The location of the .
right float The location of the .
bottom float The location of the .
리턴 RectangleF

GetHashCode() 공개 메소드

Gets a hash code for the current RectangleF.
public GetHashCode ( ) : int
리턴 int

Inflate() 공개 정적인 메소드

Increases the Size of the Rectangle by the specified values.
public static Inflate ( RectangleF rect, float width, float height ) : RectangleF
rect RectangleF The to modify.
width float The to increase the by.
height float The to increase the by.
리턴 RectangleF

Inflate() 공개 메소드

Increases the Size of the RectangleF by the specified Drawing.SizeF.
public Inflate ( SizeF size ) : RectangleF
size SizeF The to increase the by.
리턴 RectangleF

Inflate() 공개 메소드

Increases the Size of the RectangleF by the specified values.
public Inflate ( float width, float height ) : RectangleF
width float The to increase the by.
height float The to increase the by.
리턴 RectangleF

Intersect() 공개 메소드

Creates a new RectangleF which is the area that overlaps this and the provided RectangleF objects.
public Intersect ( RectangleF rect ) : RectangleF
rect RectangleF The to intersect this .
리턴 RectangleF

Intersect() 공개 정적인 메소드

Creates a new RectangleF which is the area that overlaps the provided RectangleF objects.
public static Intersect ( RectangleF a, RectangleF b ) : RectangleF
a RectangleF The first to intersect.
b RectangleF The second to intersect.
리턴 RectangleF

IntersectsWith() 공개 메소드

Determines if any corner of the provided RectangleF overlaps this RectangleF.
public IntersectsWith ( RectangleF rect ) : bool
rect RectangleF The to test.
리턴 bool

Offset() 공개 메소드

Moves this RectangleF by the specified PointF.
public Offset ( PointF pos ) : RectangleF
pos PointF The containing the values to move by.
리턴 RectangleF

Offset() 공개 메소드

Moves this RectangleF by the specified values.
public Offset ( float x, float y ) : RectangleF
x float The to increase or decrease this by.
y float The to increase or decrease this by.
리턴 RectangleF

RectangleF() 공개 메소드

Constructs a new instance of RectangleF from the specified PointF and SizeF.
public RectangleF ( PointF location, SizeF size ) : System
location PointF The of the .
size SizeF The of the .
리턴 System

RectangleF() 공개 메소드

Constructs a new instance of RectangleF from the specified X, Y, Width and Height.
public RectangleF ( float x, float y, float width, float height ) : System
x float A value representing the of the .
y float A value representing the of the .
width float A value representing the of the .
height float A value representing the of the .
리턴 System

ToString() 공개 메소드

Gets a string representation of a RectangleF.
public ToString ( ) : string
리턴 string

Union() 공개 정적인 메소드

Gets a RectangleF structure that contains the union of two RectangleF structures.
public static Union ( RectangleF a, RectangleF b ) : RectangleF
a RectangleF The first to union.
b RectangleF The second to union.
리턴 RectangleF

operator() 공개 정적인 메소드

Determines if two RectangleF structures are equivalent.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

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

Represents a RectangleF with default values.
public static RectangleF,Evbpc.Framework.Drawing Empty
리턴 RectangleF