

class Circle{
  
  float x;
  float y;
  float r;
  color fColor; // fill color
  color lColor;  // line color
  boolean hasStroke;
  float lWeight; // line Weight
  
  Circle(float x, float y, float r){
    this.x = x;
    this.y = y;
    this.r = r;
    fColor = color(255);
    lColor = color(255);
    hasStroke = false;
    lWeight = 1;
  }
  
  void draw(){
    fill(fColor);
    if(hasStroke){
      stroke(lColor,70);
      strokeWeight(lWeight);
    }else{
      noStroke();
    }
    ellipse(x,y,r*2,r*2);
    strokeWeight(1);
  }
  
  void setPosition(float x, float y){
    this.x = x;
    this.y = y;
  }
  
  void setRadius(float r){
    this.r = r;
  }
  
  void setFillColor(float r, float g, float b){
    fColor = color(r,g,b);
  }
  
  void setLineColor(float r, float g, float b){
    lColor = color(r,g,b);
  }
  
}