Point.Subtract(Point, Size) 메서드

정의

지정된 Size에서 지정된 Point를 뺀 결과를 반환합니다.Returns the result of subtracting specified Size from the specified Point.

public:
 static System::Drawing::Point Subtract(System::Drawing::Point pt, System::Drawing::Size sz);
public static System.Drawing.Point Subtract (System.Drawing.Point pt, System.Drawing.Size sz);
static member Subtract : System.Drawing.Point * System.Drawing.Size -> System.Drawing.Point
Public Shared Function Subtract (pt As Point, sz As Size) As Point

매개 변수

pt
Point

값을 뺄 Point입니다.The Point to be subtracted from.

sz
Size

Size에서 뺄 Point입니다.The Size to subtract from the Point.

반환

Point

빼기 연산의 결과인 Point입니다.The Point that is the result of the subtraction operation.

설명

는 지정 된 Subtract Width 점의 및 Height 값에서 지정 된의 및을 뺍니다 Size X Y .The Subtract subtracts the Width and Height of the specified Size from the X and Y values of the specified point.

적용 대상

추가 정보