예제 #1
0
        public Censor(ScreenshotEditor editor, Color color, int thickness, PointF p, ShapeSettingsPanel panel)
            : base(editor, color, thickness, panel)
        {
            addHandle("start", p);
            addHandle("end", p);

            sp = (CensorSettingsPanel)panel;
            sp.SettingsChanged += shapeSettingsChanged;
        }
예제 #2
0
 public Censor(ScreenshotEditor editor, XPathNavigator element) : base(editor, element, createSettingsPanel())
 {
     sp = settingsPanel as CensorSettingsPanel;
     sp.SettingsChanged += shapeSettingsChanged;
 }