public void FillRectangle(Shape shape, Brush brush) { FillRectangle(shape.BoundingRectangle, brush); }
public void FillRectangle(RectangleF rectangle, Brush brush) { deviceContext.FillRectangle(Convert(rectangle), brush); }
public void DrawText(string text, TextFormat textFormat, RectangleF layoutRect, Brush foregroundBrush, DrawTextOptions textOptions = DrawTextOptions.None) { deviceContext.DrawText(text, textFormat, Convert(layoutRect), foregroundBrush, textOptions); }
public void FillGeometry(Graphics.Drawing.Geometry geometry, Brush brush) { deviceContext.FillGeometry(geometry, brush); }
public void DrawLine(Line line, Brush brush, float strokeThickness = 1.0f) { deviceContext.DrawLine(line.P0 + line.Position.XY(), line.P1 + line.Position.XY(), brush, strokeThickness); }
public void FillEllipse(Ellipse ellipse, Brush brush) { deviceContext.FillEllipse(ellipse, brush); }
public void DrawEllipse(Ellipse ellipse, Brush brush, float strokeThickness = 1.0f) { deviceContext.DrawEllipse(ellipse, brush, strokeThickness); }
public void DrawRectangle(Shape shape, Brush brush, float strokeThickness = 1.0f) { deviceContext.DrawRectangle(Convert(shape.BoundingRectangle), brush, strokeThickness); }
public void DrawGeometry(Graphics.Drawing.Geometry geometry, Brush brush, float strokeThickness = 1.0f) { deviceContext.DrawGeometry(geometry, brush, strokeThickness); }