Point.Subtract(Point, Size) Método

Definição

Retorna o resultado da subtração do Size especificado do Point especificado.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

Parâmetros

pt
Point

O Point do qual subtrair.The Point to be subtracted from.

sz
Size

O Size a subtrair do Point.The Size to subtract from the Point.

Retornos

Point

O Point que é o resultado da operação de subtração.The Point that is the result of the subtraction operation.

Comentários

O Subtract subtrai o Width e Height do especificado Size dos X Y valores e do ponto especificado.The Subtract subtracts the Width and Height of the specified Size from the X and Y values of the specified point.

Aplica-se a

Confira também