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

61 lines
2.3 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace Mesnac.Controls.ChemicalWeighing.HslCurve
{
using System;
using System.Drawing;
/// <summary>
/// 曲线里标记图形的信息
/// </summary>
// Token: 0x02000016 RID: 22
public class HslMarkImage
{
/// <summary>
/// 实例化一个默认的对象
/// </summary>
// Token: 0x06000267 RID: 615 RVA: 0x00021290 File Offset: 0x0001F490
public HslMarkImage()
{
this.ReferencePoint = ContentAlignment.TopLeft;
this.ScaleEnable = true;
}
/// <summary>
/// 数据位置的索引
/// </summary>
// Token: 0x170000C3 RID: 195
// (get) Token: 0x06000268 RID: 616 RVA: 0x000212AA File Offset: 0x0001F4AA
// (set) Token: 0x06000269 RID: 617 RVA: 0x000212B2 File Offset: 0x0001F4B2
public int Index { get; set; }
/// <summary>
/// Y轴的偏移位置小于1则表示百分比信息大于1则表示绝对的像素位置小于0则表示不启用
/// </summary>
// Token: 0x170000C4 RID: 196
// (get) Token: 0x0600026A RID: 618 RVA: 0x000212BB File Offset: 0x0001F4BB
// (set) Token: 0x0600026B RID: 619 RVA: 0x000212C3 File Offset: 0x0001F4C3
public float OffsetY { get; set; }
/// <summary>
/// 标记的图片信息
/// </summary>
// Token: 0x170000C5 RID: 197
// (get) Token: 0x0600026C RID: 620 RVA: 0x000212CC File Offset: 0x0001F4CC
// (set) Token: 0x0600026D RID: 621 RVA: 0x000212D4 File Offset: 0x0001F4D4
public Image MarkImage { get; set; }
/// <summary>
/// 标记点的在图片中的参考方式
/// </summary>
// Token: 0x170000C6 RID: 198
// (get) Token: 0x0600026E RID: 622 RVA: 0x000212DD File Offset: 0x0001F4DD
// (set) Token: 0x0600026F RID: 623 RVA: 0x000212E5 File Offset: 0x0001F4E5
public ContentAlignment ReferencePoint { get; set; }
/// <summary>
/// 指示当前的图片是否随着滚轮缩放
/// </summary>
// Token: 0x170000C7 RID: 199
// (get) Token: 0x06000270 RID: 624 RVA: 0x000212EE File Offset: 0x0001F4EE
// (set) Token: 0x06000271 RID: 625 RVA: 0x000212F6 File Offset: 0x0001F4F6
public bool ScaleEnable { get; set; }
}
}