Performs hit-testing on this AnnSquareLineEnding.
AnnSquareLineEnding.prototype.hitTest = function(
point,
hitTestBuffer,
lineStart,
lineEnd
)
hitTest(
point: LeadPointD,
hitTestBuffer: number,
lineStart: LeadPointD,
lineEnd: LeadPointD
): boolean;
point
The LeadPointD to be tested.
hitTestBuffer
The threshold buffer value, in pixels.
lineStart
The LeadPointD that represents the starting point of the line to which the ending style is being added.
lineEnd
The LeadPointD that represents the ending point of the line to which the ending style is being added.
true
if the test point intersects with the ending style; otherwise, false.The lineStart and lineEnd points parameters represent the starting and ending points of the line.
If the object is a polyline object, then the parameters represent the starting and ending points of either the last or first line segment in the polyline (based on whether the ending style location is at the start or at the end of the polyline).
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document