예제 #1
0
        public UniversalGeometrySymbol(SymbolType type)
        {
            switch (type)
            {
            case SymbolType.normal:
                _pointSymbol   = RendererFunctions.CreateStandardSymbol(geometryType.Point);
                _lineSymbol    = RendererFunctions.CreateStandardSymbol(geometryType.Polyline);
                _polygonSymbol = RendererFunctions.CreateStandardSymbol(geometryType.Polygon);
                break;

            case SymbolType.selection:
                _pointSymbol   = RendererFunctions.CreateStandardSelectionSymbol(geometryType.Point);
                _lineSymbol    = RendererFunctions.CreateStandardSelectionSymbol(geometryType.Polyline);
                _polygonSymbol = RendererFunctions.CreateStandardSelectionSymbol(geometryType.Polygon);
                break;

            case SymbolType.highlight:
                _pointSymbol   = RendererFunctions.CreateStandardHighlightSymbol(geometryType.Point);
                _lineSymbol    = RendererFunctions.CreateStandardHighlightSymbol(geometryType.Polyline);
                _polygonSymbol = RendererFunctions.CreateStandardHighlightSymbol(geometryType.Polygon);
                break;
            }
        }
예제 #2
0
 public ISymbol CreateStandardSelectionSymbol(geometryType type)
 {
     return(RendererFunctions.CreateStandardSelectionSymbol(type));
 }