Inheritance: RenderLayerPresenter
Exemplo n.º 1
0
        private void InitializeLayerHierarchy()
        {
            _rootContentLayer = new GroupLayerPresenter();
            _gridLayer = new GridLayerPresenter() {
                IsVisible = false,
            };

            _rootLayer = new GroupLayerPresenter();
            _rootLayer.Layers.Add(new WorkspaceLayerPresenter());
            _rootLayer.Layers.Add(_rootContentLayer);
            _rootLayer.Layers.Add(_gridLayer);
            _rootLayer.Layers.Add(new AnnotationLayerPresenter() {
                Annotations = _annotations,
            });
        }
Exemplo n.º 2
0
 public GridRenderLayer(GridLayerPresenter model)
     : base(model)
 {
 }
Exemplo n.º 3
0
        private void InitializeLayerHierarchy()
        {
            _tileLayer = new TileSetLayerPresenter(_tileSet);
            _tileLayer.TileSelected += TileSelected;

            _gridLayer = new GridLayerPresenter() {
                GridSpacingX = _tilePool.TileWidth,
                GridSpacingY = _tilePool.TileHeight,
            };
            _annotLayer = new AnnotationLayerPresenter() {
                Annotations = _annotations,
            };

            _rootLayer = new GroupLayerPresenter();
            _rootLayer.Layers.Add(_tileLayer);
            //_rootLayer.Layers.Add(_gridLayer);
            _rootLayer.Layers.Add(_annotLayer);
        }