LayoutFarm.Svg.SvgEllipse.Paint C# (CSharp) Method

Paint() public method

public Paint ( PaintVisitor p ) : void
p LayoutFarm.HtmlBoxes.PaintVisitor
return void
        public override void Paint(PaintVisitor p)
        {
            if (fillColor.A > 0)
            {
                p.FillPath(myCachedPath, fillColor);
            }
            if (this.strokeColor.A > 0
                && this.ActualStrokeWidth > 0)
            {
                p.DrawPath(myCachedPath, this.strokeColor, this.ActualStrokeWidth);
            }
        }
    }