/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import o from"../../Color.js";import e from"../../core/Collection.js";import{px2pt as r}from"../../core/screenUtils.js";import m from"../FillSymbol3DLayer.js";import l from"../LineSymbol3D.js";import n from"../LineSymbol3DLayer.js";import s from"../MeshSymbol3D.js";import i from"../PointSymbol3D.js";import t from"../PolygonSymbol3D.js";import p from"../edges/SolidEdges3D.js";import{defaultPointSymbol2D as y,defaultPolylineSymbol2D as f,defaultPolygonSymbol2D as a}from"./defaults.js";import{defaultColor as c,defaultOutlineColor as u}from"./defaultsJSON.js";const w=i.fromSimpleMarkerSymbol(y),S=l.fromSimpleLineSymbol(f),b=t.fromSimpleFillSymbol(a),j=new s({symbolLayers:new e([new m({material:{color:c},edges:new p({size:r(1),color:new o(u)})})])}),L=new l({symbolLayers:new e([new n({material:{color:new o([0,0,0])},size:r(1)})])}),D=new t({symbolLayers:new e([new m({outline:{color:new o([0,0,0]),size:r(1)}})])});function d(o){if(null==o)return null;switch(o.type){case"mesh":return j;case"point":case"multipoint":return w;case"polyline":return S;case"polygon":case"extent":return b}return null}export{D as defaultRendererPolygonSymbol3D,L as defaultRendererPolylineSymbol3D,d as getDefaultSymbol3D};
