Condividi tramite


PointD.Subtract(PointD, SizeD) Method

Definition

Translates a PointD by subtracting the given size.

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::PointD Subtract(Microsoft::VisualStudio::Modeling::Diagrams::PointD point, Microsoft::VisualStudio::Modeling::Diagrams::SizeD size);
public static Microsoft.VisualStudio.Modeling.Diagrams.PointD Subtract (Microsoft.VisualStudio.Modeling.Diagrams.PointD point, Microsoft.VisualStudio.Modeling.Diagrams.SizeD size);
static member Subtract : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Shared Function Subtract (point As PointD, size As SizeD) As PointD

Parameters

point
PointD

A PointD to subtract from.

size
SizeD

A SizeD to subtract from point.

Returns

The translated PointD.

Applies to