For this kind of situation, I create a class where one attribute is the Ellipse and the other attributes are the attributes I want to add to the ellipse class. This is a bit dirty but it allows to have a class that contains all the Ellipse features as well as my additional attributes.
class WeightedEllipse
{
public Ellipse ellipse;
public double weight;
public WeightedEllipse(double weight)
{
this.ellipse=new Ellipse();
this.weight=weight;
}
}