PurplePen.TextCourseObj.TextCourseObj C# (CSharp) Method

TextCourseObj() public method

public TextCourseObj ( Id controlId, Id courseControlId, Id specialId, string text, PointF topLeft, string fontName, FontStyle fontStyle, SpecialColor fontColor, float emHeight, float outlineWidth ) : System
controlId Id
courseControlId Id
specialId Id
text string
topLeft System.Drawing.PointF
fontName string
fontStyle FontStyle
fontColor SpecialColor
emHeight float
outlineWidth float
return System
        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();
        }