C# 클래스 System.Drawing.Size

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Add ( Size sz1, Size sz2 ) : Size

Performs vector addition of two objects.

Add ( System sz1, System sz2 ) : System.Drawing.Size
Ceiling ( SizeF value ) : Size

Converts a SizeF to a Size by performing a ceiling operation on all the coordinates.

Ceiling ( System value ) : System.Drawing.Size
Equals ( object obj ) : bool

Tests to see whether the specified object is a with the same dimensions as this .

GetHashCode ( ) : int

Returns a hash code.

Round ( SizeF value ) : Size

Converts a SizeF to a Size by performing a round operation on all the coordinates.

Round ( System value ) : System.Drawing.Size
Size ( System pt )
Size ( int width, int height )
Size ( Point pt ) : System.Numerics.Hashing

Initializes a new instance of the class from the specified .

Size ( int width, int height ) : System.Numerics.Hashing

Initializes a new instance of the class from the specified dimensions.

Subtract ( Size sz1, Size sz2 ) : Size

Contracts a by another .

Subtract ( System sz1, System sz2 ) : System.Drawing.Size
ToString ( ) : string

Creates a human-readable string that represents this .

Truncate ( SizeF value ) : Size

Converts a SizeF to a Size by performing a truncate operation on all the coordinates.

Truncate ( System value ) : System.Drawing.Size
operator ( ) : Size

Performs vector addition of two objects.

operator ( ) : System.Drawing.Size
operator ( ) : bool

Tests whether two objects are identical.

메소드 상세

Add() 공개 정적인 메소드

Performs vector addition of two objects.

public static Add ( Size sz1, Size sz2 ) : Size
sz1 Size
sz2 Size
리턴 Size

Add() 공개 정적인 메소드

public static Add ( System sz1, System sz2 ) : System.Drawing.Size
sz1 System
sz2 System
리턴 System.Drawing.Size

Ceiling() 공개 정적인 메소드

Converts a SizeF to a Size by performing a ceiling operation on all the coordinates.
public static Ceiling ( SizeF value ) : Size
value SizeF
리턴 Size

Ceiling() 공개 정적인 메소드

public static Ceiling ( System value ) : System.Drawing.Size
value System
리턴 System.Drawing.Size

Equals() 공개 메소드

Tests to see whether the specified object is a with the same dimensions as this .

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

GetHashCode() 공개 메소드

Returns a hash code.

public GetHashCode ( ) : int
리턴 int

Round() 공개 정적인 메소드

Converts a SizeF to a Size by performing a round operation on all the coordinates.
public static Round ( SizeF value ) : Size
value SizeF
리턴 Size

Round() 공개 정적인 메소드

public static Round ( System value ) : System.Drawing.Size
value System
리턴 System.Drawing.Size

Size() 공개 메소드

public Size ( System pt )
pt System

Size() 공개 메소드

public Size ( int width, int height )
width int
height int

Size() 공개 메소드

Initializes a new instance of the class from the specified .

public Size ( Point pt ) : System.Numerics.Hashing
pt Point
리턴 System.Numerics.Hashing

Size() 공개 메소드

Initializes a new instance of the class from the specified dimensions.
public Size ( int width, int height ) : System.Numerics.Hashing
width int
height int
리턴 System.Numerics.Hashing

Subtract() 공개 정적인 메소드

Contracts a by another .

public static Subtract ( Size sz1, Size sz2 ) : Size
sz1 Size
sz2 Size
리턴 Size

Subtract() 공개 정적인 메소드

public static Subtract ( System sz1, System sz2 ) : System.Drawing.Size
sz1 System
sz2 System
리턴 System.Drawing.Size

ToString() 공개 메소드

Creates a human-readable string that represents this .

public ToString ( ) : string
리턴 string

Truncate() 공개 정적인 메소드

Converts a SizeF to a Size by performing a truncate operation on all the coordinates.
public static Truncate ( SizeF value ) : Size
value SizeF
리턴 Size

Truncate() 공개 정적인 메소드

public static Truncate ( System value ) : System.Drawing.Size
value System
리턴 System.Drawing.Size

operator() 공개 정적인 메소드

Performs vector addition of two objects.

public static operator ( ) : Size
리턴 Size

operator() 공개 정적인 메소드

public static operator ( ) : System.Drawing.Size
리턴 System.Drawing.Size

operator() 공개 정적인 메소드

Tests whether two objects are identical.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

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

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

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

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