{"version":3,"file":"hollow.js","sourceRoot":"","sources":["../../../../src/geometry/shape/point/hollow.ts"],"names":[],"mappings":";;AAAA,mCAAkC;AAIlC,+CAAqD;AACrD,gCAAwC;AACxC,+BAAmD;AAEnD,iBAAiB;AACjB,IAAA,WAAI,EAAC,oBAAa,EAAE,UAAC,SAAiB;IACpC,IAAA,oBAAa,EAAC,OAAO,EAAE,SAAS,EAAE;QAChC,IAAI,EAAJ,UAAK,GAAc,EAAE,SAAiB;YACpC,OAAO,IAAA,iBAAU,EAAC,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;QAC3D,CAAC;QACD,SAAS,EAAT,UAAU,SAAyB;YACzB,IAAA,KAAK,GAAK,SAAS,MAAd,CAAe;YAC5B,OAAO;gBACL,MAAM,EAAE,sBAAa,CAAC,SAAS,CAAC;gBAChC,KAAK,EAAE;oBACL,CAAC,EAAE,GAAG;oBACN,MAAM,EAAE,KAAK;oBACb,IAAI,EAAE,IAAI;iBACX;aACF,CAAC;QACJ,CAAC;KACF,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { each } from '@antv/util';\nimport { IGroup } from '../../../dependents';\nimport { ShapeInfo, ShapeMarkerCfg } from '../../../interface';\n\nimport { MarkerSymbols } from '../../../util/marker';\nimport { registerShape } from '../base';\nimport { drawPoints, HOLLOW_SHAPES } from './util';\n\n// 添加 hollowShape\neach(HOLLOW_SHAPES, (shapeName: string) => {\n registerShape('point', shapeName, {\n draw(cfg: ShapeInfo, container: IGroup) {\n return drawPoints(this, cfg, container, shapeName, true);\n },\n getMarker(markerCfg: ShapeMarkerCfg) {\n const { color } = markerCfg;\n return {\n symbol: MarkerSymbols[shapeName],\n style: {\n r: 4.5,\n stroke: color,\n fill: null,\n },\n };\n },\n });\n});\n"]}