Example #1
0
        public object Clone(CloneOptions options)
        {
            UniversalGeometrySymbol symbol = new UniversalGeometrySymbol();

            symbol._pointSymbol   = (ISymbol)_pointSymbol.Clone(options);
            symbol._lineSymbol    = (ISymbol)_lineSymbol.Clone(options);
            symbol._polygonSymbol = (ISymbol)_polygonSymbol.Clone(options);

            return(symbol);
        }
        public object Clone(IDisplay display)
        {
            UniversalGeometrySymbol symbol = new UniversalGeometrySymbol();

            symbol._pointSymbol   = (ISymbol)_pointSymbol.Clone(display);
            symbol._lineSymbol    = (ISymbol)_lineSymbol.Clone(display);
            symbol._polygonSymbol = (ISymbol)_polygonSymbol.Clone(display);

            return(symbol);
        }
Example #3
0
 public UniversalGeometryRenderer()
 {
     _symbol         = new UniversalGeometrySymbol(UniversalGeometrySymbol.SymbolType.normal);
     _symbolRotation = new SymbolRotation();
 }
Example #4
0
 public void Load(gView.Framework.IO.IPersistStream stream)
 {
     _symbol         = (UniversalGeometrySymbol)stream.Load("Symbol", new UniversalGeometrySymbol(UniversalGeometrySymbol.SymbolType.normal), new UniversalGeometrySymbol(UniversalGeometrySymbol.SymbolType.normal));
     _symbolRotation = (SymbolRotation)stream.Load("SymbolRotation", _symbolRotation, _symbolRotation);
 }