@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 766 B
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{readOffsetDistance as t,readIsProportional as e,readVertexBeforeOffset as o,readDistance as s}from"./support/builderUtils.js";import{lineVerticesOffset as r,VertexPlacement as i}from"./support/offsetUtils.js";import{isPolyline as p}from"../support/executorUtils.js";function n({templatePart:n,shape:f,edits:a,relationships:l,mode:m}){if(!p(f))return;const u=f,{builderConfig:c}=n,d=t(c),h=e(c),x=o(c),P=s(c,h);r({templatePart:n,edits:a,relationships:l,shape:u,distance:P,isProportional:h,offsetDistance:d,vertexBeforeOffset:x,vertexPlacement:i.NotBeginning,mode:m})}const f=!1;export{n as execute,f as isAsync};