package de.ivu.elect.business.gebietsbaum.entity;

/**
 *  on 13.01.2016.
 */
public class SvgRect extends SvgPoint {

  private final double width;

  private final double height;

  private final String fillColor;

  private final double fillOpacity;

  public SvgRect(double x, double y, double width, double height,String fillColor, double fillOpacity) {
    super(x, y);
    this.width = width;
    this.height = height;
    this.fillColor = fillColor;
    this.fillOpacity = fillOpacity;
  }

  public double getHeight() {
    return height;
  }

  public double getWidth() {
    return width;
  }

  public String getFillColor() {
    return fillColor;
  }

  public double getFillOpacity() {
    return fillOpacity;
  }
}
