Esempio n. 1
0
 /// <summary>
 /// Instantiates a new render style object with a default line-through style and lowest priority.
 /// </summary>
 /// <param name="lineColor">This parameter defines the line color for this style.</param>
 /// <param name="lineThroughStyle">This parameter defines the the line through style.</param>
 public HighLightStyle(HighlightColor lineColor, LineThroughStyle lineThroughStyle) : this()
 {
     this.lineType            = LineType.LineThrough;
     this.lineColor           = lineColor;
     this.lineThroughStyle    = lineThroughStyle;
     this.textColor           = new HighlightColor(Color.Empty, ColorType.Inherit);
     this.textBackgroundColor = new HighlightColor(ColorType.Transparent);
 }
Esempio n. 2
0
 public HighLightStyle(Color lineColor, LineThroughStyle lineThroughStyle) : this(HighlightColor.Color(lineColor), lineThroughStyle)
 {
 }