Skip to content

Function: createROIFromPolygon() ​

ts
function createROIFromPolygon(
   source, 
   polygon, 
   options
): VertexROI;

Defined in: roi.ts:129

Parameters ​

source ​

PolygonVertexSource

polygon ​

RoiPoint[]

options ​

Omit<CreateROIOptions, "vertexIndices" | "outline">

Returns ​

VertexROI

Released under the MIT License.