/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{clamp as n}from"../../../../core/mathUtils.js";import{POLYGON_OFFSET_INDEX_COUNT as r}from"../../webgl-engine/shaders/RibbonLineTechniqueConfiguration.js";function e(n){switch(n){case"butt":return 0;case"square":return 1;case"round":return 2;default:return null}}function t(n){return"diamond"===n?"kite":n}function u(e,t){return n(Math.round((1-e)/t-1),0,r-1)}export{u as computeSymbolLayerIndex,e as parseCapType,t as parseLineMarkerStyle};
