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

54 lines
1.9 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.

using System.Drawing;
namespace Mesnac.Controls.ChemicalWeighing.HslCurve
{
/// <summary>
/// 辅助标签的信息
/// </summary>
// Token: 0x0200001F RID: 31
public class AuxiliaryLable
{
/// <summary>
/// 实例化一个对象
/// </summary>
// Token: 0x060002B9 RID: 697 RVA: 0x00021852 File Offset: 0x0001FA52
public AuxiliaryLable()
{
this.TextBrush = Brushes.Black;
this.TextBack = Brushes.Transparent;
this.LocationX = 0.5f;
}
/// <summary>
/// 标签的文本信息
/// </summary>
// Token: 0x170000E7 RID: 231
// (get) Token: 0x060002BA RID: 698 RVA: 0x00021880 File Offset: 0x0001FA80
// (set) Token: 0x060002BB RID: 699 RVA: 0x00021888 File Offset: 0x0001FA88
public string Text { get; set; }
/// <summary>
/// 标签的文本颜色
/// </summary>
// Token: 0x170000E8 RID: 232
// (get) Token: 0x060002BC RID: 700 RVA: 0x00021891 File Offset: 0x0001FA91
// (set) Token: 0x060002BD RID: 701 RVA: 0x00021899 File Offset: 0x0001FA99
public Brush TextBrush { get; set; }
/// <summary>
/// 标签的文本背景
/// </summary>
// Token: 0x170000E9 RID: 233
// (get) Token: 0x060002BE RID: 702 RVA: 0x000218A2 File Offset: 0x0001FAA2
// (set) Token: 0x060002BF RID: 703 RVA: 0x000218AA File Offset: 0x0001FAAA
public Brush TextBack { get; set; }
/// <summary>
/// 标签的横轴位置小于1则为百分比大于1则为绝对值
/// </summary>
// Token: 0x170000EA RID: 234
// (get) Token: 0x060002C0 RID: 704 RVA: 0x000218B3 File Offset: 0x0001FAB3
// (set) Token: 0x060002C1 RID: 705 RVA: 0x000218BB File Offset: 0x0001FABB
public float LocationX { get; set; }
}
}