public override void Draw(Vector2 OFFSET) { DrawPrimitive.DrawLineToPoint(Global.spriteBatch, lineSegment.from, lineSegment.to, this.color, this.thickness); }
public void Draw(){ for(int i = 0; i< this.points.Capacity; i++){ DrawPrimitive.DrawLineToPoint(Global.spriteBatch,points[i],points[(i + 1 )% points.Capacity],Color.BlueViolet,4); } // DrawPrimitive.DrawLineToPoint(Global.spriteBatch, points[0],position,Color.Yellow); }