public void SetTint(TintParameters parms) { if (TintParameters != null) { TintParameters.Dispose(); } TintParameters = parms; }
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); }
public void SetTint(TintParameters parms) { ((IStyle)Style).SetTint(parms); }