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/HslMarkLine.cs

80 lines
2.9 KiB
C#


using System.Drawing;
namespace Mesnac.Controls.ChemicalWeighing.HslCurve
{
/// <summary>
/// 曲线图里的直线标记信息
/// </summary>
// Token: 0x02000015 RID: 21
public class HslMarkLine
{
/// <summary>
/// 实例化一个默认的对象,默认参考左坐标轴,颜色为亮蓝色
/// </summary>
// Token: 0x06000258 RID: 600 RVA: 0x000211E3 File Offset: 0x0001F3E3
public HslMarkLine()
{
this.TextBrush = Brushes.DodgerBlue;
this.CircleBrush = Brushes.DodgerBlue;
this.LinePen = Pens.DodgerBlue;
this.IsLeftFrame = true;
}
/// <summary>
/// 文本的颜色
/// </summary>
// Token: 0x170000BC RID: 188
// (get) Token: 0x06000259 RID: 601 RVA: 0x00021219 File Offset: 0x0001F419
// (set) Token: 0x0600025A RID: 602 RVA: 0x00021221 File Offset: 0x0001F421
public Brush TextBrush { get; set; }
/// <summary>
/// 圆圈的画刷
/// </summary>
// Token: 0x170000BD RID: 189
// (get) Token: 0x0600025B RID: 603 RVA: 0x0002122A File Offset: 0x0001F42A
// (set) Token: 0x0600025C RID: 604 RVA: 0x00021232 File Offset: 0x0001F432
public Brush CircleBrush { get; set; }
/// <summary>
/// 线段颜色的标记
/// </summary>
// Token: 0x170000BE RID: 190
// (get) Token: 0x0600025D RID: 605 RVA: 0x0002123B File Offset: 0x0001F43B
// (set) Token: 0x0600025E RID: 606 RVA: 0x00021243 File Offset: 0x0001F443
public Pen LinePen { get; set; }
/// <summary>
/// 所有的点的集合
/// </summary>
// Token: 0x170000BF RID: 191
// (get) Token: 0x0600025F RID: 607 RVA: 0x0002124C File Offset: 0x0001F44C
// (set) Token: 0x06000260 RID: 608 RVA: 0x00021254 File Offset: 0x0001F454
public PointF[] Points { get; set; }
/// <summary>
/// 所有的标记点的集合
/// </summary>
// Token: 0x170000C0 RID: 192
// (get) Token: 0x06000261 RID: 609 RVA: 0x0002125D File Offset: 0x0001F45D
// (set) Token: 0x06000262 RID: 610 RVA: 0x00021265 File Offset: 0x0001F465
public string[] Marks { get; set; }
/// <summary>
/// 线段是否闭合
/// </summary>
// Token: 0x170000C1 RID: 193
// (get) Token: 0x06000263 RID: 611 RVA: 0x0002126E File Offset: 0x0001F46E
// (set) Token: 0x06000264 RID: 612 RVA: 0x00021276 File Offset: 0x0001F476
public bool IsLineClosed { get; set; }
/// <summary>
/// 是否参照左侧的坐标轴
/// </summary>
// Token: 0x170000C2 RID: 194
// (get) Token: 0x06000265 RID: 613 RVA: 0x0002127F File Offset: 0x0001F47F
// (set) Token: 0x06000266 RID: 614 RVA: 0x00021287 File Offset: 0x0001F487
public bool IsLeftFrame { get; set; }
}
}