public override bool Equals(object obj)
{
if (obj == null || GetType() != obj.GetType()) {
return false;
}
TextCourseObj other = (TextCourseObj) obj;
if (text != other.text || topLeft != other.topLeft || fontName != other.fontName || fontStyle != other.fontStyle || !fontColor.Equals(other.fontColor) || emHeight != other.emHeight)
return false;
return base.Equals(obj);
}