DrawLine() public method

public DrawLine ( float x1, float y1, float x2, float y2, Color strokeColor, float strokeW ) : void
x1 float
y1 float
x2 float
y2 float
strokeColor Color
strokeW float
return void
Ejemplo n.º 1
0
 public override void Paint(PaintVisitor p)
 {
     if (this.strokeColor.A > 0)
     {
         p.DrawLine(
             this.actualX1, this.actualY1,
             this.actualX2, this.actualY2,
             this.StrokeColor,
             this.ActualStrokeWidth);
     }
 }