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

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

공개 프로퍼티들

프로퍼티 타입 설명
Empty PointShort

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add ( PointShort pt, Size sz ) : PointShort

Offsets a PointShort by the specified Size.

Add ( PointShort pt, SizeByte sz ) : PointShort

Offsets a PointShort by the specified SizeByte.

Add ( PointShort pt, SizeShort sz ) : PointShort

Offsets a PointShort by the specified SizeShort.

Ceiling ( PointF value ) : PointShort

Constructs a new PointShort from the specified PointF by rounding all float values up to the nearest whole number.

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Gets a hash code for the current PointShort.

GetPackedValue ( ) : uint

Gets a uint that represents the current PointShort.

Offset ( PointShort p ) : PointShort

Offsets the current PointShort by the specified PointShort.

Offset ( short dx, short dy ) : PointShort

Offsets the current PointShort by the specified X and Y values.

PointShort ( Size sz ) : System

Constructs a new instance of PointShort from the specified Size.

The Size.Width will become the X and the Size.Height will become the Y.

PointShort ( short x, short y ) : System

Constructs a new instance of PointShort from the specified X and Y.

PointShort ( uint packedValue ) : System

Constructs a new instance of PointShort from the specified uint.

Round ( PointF value ) : PointShort

Constructs a new PointShort from the specified PointF by rounding all values to the nearest whole number.

Subtract ( PointShort pt, Size sz ) : PointShort

Subtracts a PointShort by a Size.

Subtract ( PointShort pt, SizeByte sz ) : PointShort

Subtracts a PointShort by a SizeByte.

Subtract ( PointShort pt, SizeShort sz ) : PointShort

Subtracts a PointShort by a SizeShort.

ToString ( ) : string

Gets a string representation of a PointShort.

Truncate ( PointF value ) : PointShort

Constructs a new PointShort from the specified PointF by rounding all values down to the nearest whole number.

operator ( ) : PointShort

Offsets a PointShort object by the specified Size.

operator ( ) : bool

Determines if two PointShort objects are equal.

메소드 상세

Add() 공개 정적인 메소드

Offsets a PointShort by the specified Size.
public static Add ( PointShort pt, Size sz ) : PointShort
pt PointShort The that should be offset.
sz Size The to offset by.
리턴 PointShort

Add() 공개 정적인 메소드

Offsets a PointShort by the specified SizeByte.
public static Add ( PointShort pt, SizeByte sz ) : PointShort
pt PointShort The that should be offset.
sz SizeByte The to offset by.
리턴 PointShort

Add() 공개 정적인 메소드

Offsets a PointShort by the specified SizeShort.
public static Add ( PointShort pt, SizeShort sz ) : PointShort
pt PointShort The that should be offset.
sz SizeShort The to offset by.
리턴 PointShort

Ceiling() 공개 정적인 메소드

Constructs a new PointShort from the specified PointF by rounding all float values up to the nearest whole number.
public static Ceiling ( PointF value ) : PointShort
value PointF The to be rounded up.
리턴 PointShort

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

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

GetPackedValue() 공개 메소드

Gets a uint that represents the current PointShort.
public GetPackedValue ( ) : uint
리턴 uint

Offset() 공개 메소드

Offsets the current PointShort by the specified PointShort.
public Offset ( PointShort p ) : PointShort
p PointShort The to offest this by.
리턴 PointShort

Offset() 공개 메소드

Offsets the current PointShort by the specified X and Y values.
public Offset ( short dx, short dy ) : PointShort
dx short The value representing how far to offset the of the current .
dy short The value representing how far to offset the of the current .
리턴 PointShort

PointShort() 공개 메소드

Constructs a new instance of PointShort from the specified Size.
The Size.Width will become the X and the Size.Height will become the Y.
public PointShort ( Size sz ) : System
sz Size The to construct the from.
리턴 System

PointShort() 공개 메소드

Constructs a new instance of PointShort from the specified X and Y.
public PointShort ( short x, short y ) : System
x short The value that should represent the .
y short The value that should represent the .
리턴 System

PointShort() 공개 메소드

Constructs a new instance of PointShort from the specified uint.
public PointShort ( uint packedValue ) : System
packedValue uint The uint representing the current .
리턴 System

Round() 공개 정적인 메소드

Constructs a new PointShort from the specified PointF by rounding all values to the nearest whole number.
public static Round ( PointF value ) : PointShort
value PointF The to be rounded.
리턴 PointShort

Subtract() 공개 정적인 메소드

Subtracts a PointShort by a Size.
public static Subtract ( PointShort pt, Size sz ) : PointShort
pt PointShort The to be subtracted from.
sz Size The to subtract.
리턴 PointShort

Subtract() 공개 정적인 메소드

Subtracts a PointShort by a SizeByte.
public static Subtract ( PointShort pt, SizeByte sz ) : PointShort
pt PointShort The to be subtracted from.
sz SizeByte The to subtract.
리턴 PointShort

Subtract() 공개 정적인 메소드

Subtracts a PointShort by a SizeShort.
public static Subtract ( PointShort pt, SizeShort sz ) : PointShort
pt PointShort The to be subtracted from.
sz SizeShort The to subtract.
리턴 PointShort

ToString() 공개 메소드

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

Truncate() 공개 정적인 메소드

Constructs a new PointShort from the specified PointF by rounding all values down to the nearest whole number.
public static Truncate ( PointF value ) : PointShort
value PointF The to be rounded down.
리턴 PointShort

operator() 공개 정적인 메소드

Offsets a PointShort object by the specified Size.
public static operator ( ) : PointShort
리턴 PointShort

operator() 공개 정적인 메소드

Determines if two PointShort objects are equal.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

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

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