var instance = new Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS(polygon); var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebHighlightObjectJS // Parameters var polygon; // Type: object[] value = instance.createObjectFromPolygon(polygon);
function createObjectFromPolygon(
polygonPolygon, as point array, that defines image region which should be highlighted in the image viewer.: object[]
) : WebHighlightObjectJS;
Parameters
- polygon
- Polygon, as point array, that defines image region which should be highlighted in the image viewer.
Return Value
Object (instance of the WebHighlightObjectJS class) that defines image region which should be highlighted in the image viewer.