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; }
public Censor(ScreenshotEditor editor, XPathNavigator element) : base(editor, element, createSettingsPanel()) { sp = settingsPanel as CensorSettingsPanel; sp.SettingsChanged += shapeSettingsChanged; }