You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Controls/Mesnac.Controls.ChemicalWei.../HslCurve/HslMarkForeSection.cs

81 lines
3.0 KiB
C#

using System.Collections.Generic;
using System.Drawing;
namespace Mesnac.Controls.ChemicalWeighing.HslCurve
{
/// <summary>
/// 用于前景色标记的区段信息
/// </summary>
// Token: 0x0200001B RID: 27
public class HslMarkForeSection : HslMarkSectionBase
{
/// <summary>
/// 实例化一个默认的对象
/// </summary>
// Token: 0x0600028F RID: 655 RVA: 0x000215D0 File Offset: 0x0001F7D0
public HslMarkForeSection()
{
this.LinePen = Pens.Cyan;
this.FontBrush = Brushes.Yellow;
this.IsRenderTimeText = true;
this.CursorTexts = new Dictionary<string, string>();
}
/// <summary>
/// 绘制的起始高度
/// </summary>
// Token: 0x170000D4 RID: 212
// (get) Token: 0x06000290 RID: 656 RVA: 0x00021606 File Offset: 0x0001F806
// (set) Token: 0x06000291 RID: 657 RVA: 0x0002160E File Offset: 0x0001F80E
public float StartHeight { get; set; }
/// <summary>
/// 绘制是高度信息
/// </summary>
// Token: 0x170000D5 RID: 213
// (get) Token: 0x06000292 RID: 658 RVA: 0x00021617 File Offset: 0x0001F817
// (set) Token: 0x06000293 RID: 659 RVA: 0x0002161F File Offset: 0x0001F81F
public float Height { get; set; }
/// <summary>
/// 是否显示开始和结束的信息
/// </summary>
// Token: 0x170000D6 RID: 214
// (get) Token: 0x06000294 RID: 660 RVA: 0x00021628 File Offset: 0x0001F828
// (set) Token: 0x06000295 RID: 661 RVA: 0x00021630 File Offset: 0x0001F830
public bool IsRenderTimeText { get; set; }
/// <summary>
/// 特殊标记的区间的背景色
/// </summary>
// Token: 0x170000D7 RID: 215
// (get) Token: 0x06000296 RID: 662 RVA: 0x00021639 File Offset: 0x0001F839
// (set) Token: 0x06000297 RID: 663 RVA: 0x00021641 File Offset: 0x0001F841
public Pen LinePen { get; set; }
/// <summary>
/// 字体的颜色
/// </summary>
// Token: 0x170000D8 RID: 216
// (get) Token: 0x06000298 RID: 664 RVA: 0x0002164A File Offset: 0x0001F84A
// (set) Token: 0x06000299 RID: 665 RVA: 0x00021652 File Offset: 0x0001F852
public Brush FontBrush { get; set; }
/// <summary>
/// 特殊标记的文本,如果不为空,则显示出来
/// </summary>
// Token: 0x170000D9 RID: 217
// (get) Token: 0x0600029A RID: 666 RVA: 0x0002165B File Offset: 0x0001F85B
// (set) Token: 0x0600029B RID: 667 RVA: 0x00021663 File Offset: 0x0001F863
public string MarkText { get; set; }
/// <summary>
/// 光标处显示的信息
/// </summary>
// Token: 0x170000DA RID: 218
// (get) Token: 0x0600029C RID: 668 RVA: 0x0002166C File Offset: 0x0001F86C
// (set) Token: 0x0600029D RID: 669 RVA: 0x00021674 File Offset: 0x0001F874
public Dictionary<string, string> CursorTexts { get; set; }
}
}