Beispiel #1
0
        private void InitializeDrawingView()
        {
            _view = new DrawingView();
            _view.Initialize();

            // background layer
            _view.Layers[0].Background.A = 0xFF;
            _view.Layers[0].Background.R = 0xFF;
            _view.Layers[0].Background.G = 0xFF;
            _view.Layers[0].Background.B = 0xFF;

            // drawing layer
            _view.Layers[1].Background.A = 0xFF;
            _view.Layers[1].Background.R = 0xF5;
            _view.Layers[1].Background.G = 0xF5;
            _view.Layers[1].Background.B = 0xF5;
        }
Beispiel #2
0
 private void InitializeDrawingView()
 {
     _view = new DrawingView();
     _view.Initialize();
 }