示例#1
0
        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);
        }
示例#2
0
        public void DrawAndFillRectangle(SolidColor lineColor, IColor fillColor, Rectangle rect)
        {
            if (fillColor is SolidColor)
            {
                this.FillRectangle(rect, (SolidColor)fillColor);
            }

            this.DrawRectangle(rect, lineColor);
        }
示例#3
0
        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);
                }
            }
        }
示例#4
0
 public void FillRectangle(Rectangle rect, IColor color)
 {
     this.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, color);
 }
示例#5
0
 public void FillEllipse(IColor fillColor, Rectangle rectangle)
 {
     // TODO
 }
示例#6
0
 public void FillPath(IColor color, Path graphicsPath)
 {
     // TODO
 }