public void Clear(Color color) { UpdateDrawingSessionWithFlags(0); CurrentRenderTarget.Clear(color); _matrixSaves.Clear(); _flagSaves.Clear(); _clipSaves.Clear(); }
public void Clear(Color color) { UpdateDrawingSessionWithFlags(0); CurrentRenderTarget.Clear(new RawColor4(color.R, color.G, color.B, color.A)); ; _matrixSaves.Clear(); _flagSaves.Clear(); _clipSaves.Clear(); }
private void PaintBody() { if (!Visible) { return; } if (externalTarget == null) { if (this.BackColor != Color.Transparent) { CurrentRenderTarget.Clear(this.BackColor.ToArgb()); } } OnDraw(); if (externalTarget == null) { CurrentRenderTarget.flush(); } }
public static void Clear(SystemColor color) { CurrentRenderTarget.Clear(color.ToSFMLColor()); }