public Style() { ColorRange = new ColorRange(); ColorMode = ColorMode.Rgb; EllipseMode = EllipseMode.Center; RectangleMode = RectangleMode.Corner; ImageMode = ImageMode.Corner; FillParameters = new FillParameters(new Color(255, 255, 255, 255)); StrokeParameters = new StrokeParameters(new Color(0, 0, 0, 255)); TintParameters = new TintParameters(new Color()) { Disabled = true }; Font = new Font("Arial", 10f); BackgroundParameters = new BackgroundParameters(new Color(100)); }
public void DrawBackground(BackgroundParameters parms) { ((IRenderer)Renderer).DrawBackground(parms); }
public void SetBackground(BackgroundParameters parms) { BackgroundParameters = parms; }
public void SetBackground(BackgroundParameters parms) { ((IStyle)Style).SetBackground(parms); }