public void DrawAndFillRectangle(SolidColor lineColor, IColor fillColor, Rectangle rect, float weight, LineStyles lineStyle) { if (fillColor is SolidColor) { this.FillRectangle(rect, (SolidColor)fillColor); } this.DrawRectangle(rect, lineColor, weight, lineStyle); }
public void DrawAndFillRectangle(SolidColor lineColor, IColor fillColor, Rectangle rect) { if (fillColor is SolidColor) { this.FillRectangle(rect, (SolidColor)fillColor); } this.DrawRectangle(rect, lineColor); }
public void FillRectangle(float x, float y, float width, float height, IColor color) { if (color is SolidColor) { var solidColor = (SolidColor)color; using (var p = new Paint()) { p.Color = solidColor; this.FillRectangle(p, x, y, width, height); } } }
public void FillRectangle(Rectangle rect, IColor color) { this.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, color); }
public void FillEllipse(IColor fillColor, Rectangle rectangle) { // TODO }
public void FillPath(IColor color, Path graphicsPath) { // TODO }