This documentation is for the old version. Go to the latest Graphics Mill docs

PathControlPoint.HitTest Method

Checks if the specifed point is this control point.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Overrides Function HitTest ( _
	point As Point, _
	coordinateMapper As ICoordinateMapper _
) As Boolean
C#
public override bool HitTest(
	Point point,
	ICoordinateMapper coordinateMapper
)

Parameters

point

Type: System.Drawing.Point

The point to check.
coordinateMapper

Type: Aurigma.GraphicsMill.WinControls.ICoordinateMapper

An object that provides methods for mapping workspace coordinates to control ones.

Return Value

true, if the point is this control point; otherwise, false.

Remarks

As the control point does not know anything about control scroll bars position and its zoom, it simply uses the specifed coordinateMapper to transform its own (workspace) coordinates to control coordinates.

See Also

Reference