public TextCourseObj(Id<ControlPoint> controlId, Id<CourseControl> courseControlId, Id<Special> specialId, string text, PointF topLeft, string fontName, FontStyle fontStyle, SpecialColor fontColor, float emHeight, float outlineWidth)
: base(controlId, courseControlId, specialId, 1.0F, new CourseAppearance())
{
this.text = text;
this.topLeft = topLeft;
this.fontName = fontName;
this.fontStyle = fontStyle;
this.fontColor = fontColor;
this.emHeight = emHeight;
this.outlineWidth = outlineWidth;
this.size = MeasureText();
}