using System.Drawing;
using System.Drawing.Drawing2D;
namespace Microsoft.Windows.Forms
{
public partial class Sprite
{
private BorderVisibleStyle m_BorderVisibleStyle = BorderVisibleStyle.All;
///
/// 边框样式
///
public BorderVisibleStyle BorderVisibleStyle
{
get
{
return this.m_BorderVisibleStyle;
}
set
{
if (value != this.m_BorderVisibleStyle)
{
this.m_BorderVisibleStyle = value;
this.Feedback();
}
}
}
private BlendStyle m_BorderBlendStyle = BlendStyle.Solid;
///
/// 边框混合样式
///
public BlendStyle BorderBlendStyle
{
get
{
return this.m_BorderBlendStyle;
}
set
{
if (value != this.m_BorderBlendStyle)
{
this.m_BorderBlendStyle = value;
this.Feedback();
}
}
}
private DashStyle m_BorderDashStyle = DashStyle.Solid;
///
/// 边框绘制虚线样式
///
public DashStyle BorderDashStyle
{
get
{
return this.m_BorderDashStyle;
}
set
{
if (value != this.m_BorderDashStyle)
{
this.m_BorderDashStyle = value;
this.Feedback();
}
}
}
private float[] m_BorderDashPattern = null;
///
/// 边框自定义的短划线和空白区域的数组
///
public float[] BorderDashPattern
{
get
{
return this.m_BorderDashPattern;
}
set
{
if (value != this.m_BorderDashPattern)
{
this.m_BorderDashPattern = value;
this.Feedback();
}
}
}
private DashCap m_BorderDashCap = DashCap.Flat;
///
/// 边框虚线断弦断终点的线帽样式
///
public DashCap BorderDashCap
{
get
{
return this.m_BorderDashCap;
}
set
{
if (value != this.m_BorderDashCap)
{
this.m_BorderDashCap = value;
this.Feedback();
}
}
}
private float m_BorderDashOffset = 0f;
///
/// 边框直线的起点到短划线图案起始处的距离
///
public float BorderDashOffset
{
get
{
return this.m_BorderDashOffset;
}
set
{
if (value != this.m_BorderDashOffset)
{
this.m_BorderDashOffset = value;
this.Feedback();
}
}
}
private Color m_BorderColor = DefaultTheme.BorderColor;
///
/// 边框颜色
///
public Color BorderColor
{
get
{
return this.m_BorderColor;
}
set
{
if (value != this.m_BorderColor)
{
this.m_BorderColor = value;
this.Feedback();
}
}
}
private Color m_BorderColorHovered = DefaultTheme.BorderColor + DefaultTheme.BorderColorHoveredVector;
///
/// 边框色鼠标移上向量
///
public Color BorderColorHovered
{
get
{
return this.m_BorderColorHovered;
}
set
{
if (value != this.m_BorderColorHovered)
{
this.m_BorderColorHovered = value;
this.Feedback();
}
}
}
private Color m_BorderColorPressed = DefaultTheme.BorderColor + DefaultTheme.BorderColorPressedVector;
///
/// 边框色鼠标按下向量
///
public Color BorderColorPressed
{
get
{
return this.m_BorderColorPressed;
}
set
{
if (value != this.m_BorderColorPressed)
{
this.m_BorderColorPressed = value;
this.Feedback();
}
}
}
private Color m_BorderColorFocused = DefaultTheme.BorderColor + DefaultTheme.BorderColorFocusedVector;
///
/// 边框色获取焦点向量
///
public Color BorderColorFocused
{
get
{
return this.m_BorderColorFocused;
}
set
{
if (value != this.m_BorderColorFocused)
{
this.m_BorderColorFocused = value;
this.Feedback();
}
}
}
private Color m_BorderColorDisabled = DefaultTheme.BorderColor + DefaultTheme.BorderColorDisabledVector;
///
/// 边框色状态禁用向量
///
public Color BorderColorDisabled
{
get
{
return this.m_BorderColorDisabled;
}
set
{
if (value != this.m_BorderColorDisabled)
{
this.m_BorderColorDisabled = value;
this.Feedback();
}
}
}
private Color m_BorderColorHighlight = DefaultTheme.BorderColor + DefaultTheme.BorderColorHighlightVector;
///
/// 边框色高亮向量
///
public Color BorderColorHighlight
{
get
{
return this.m_BorderColorHighlight;
}
set
{
if (value != this.m_BorderColorHighlight)
{
this.m_BorderColorHighlight = value;
this.Feedback();
}
}
}
private float m_BorderColorPos1 = 0.45f;
///
/// 边框颜色位置1
///
public float BorderColorPos1
{
get
{
return this.m_BorderColorPos1;
}
set
{
if (value != this.m_BorderColorPos1)
{
this.m_BorderColorPos1 = value;
this.Feedback();
}
}
}
private float m_BorderColorPos2 = 0.5f;
///
/// 边框颜色位置2
///
public float BorderColorPos2
{
get
{
return this.m_BorderColorPos2;
}
set
{
if (value != this.m_BorderColorPos2)
{
this.m_BorderColorPos2 = value;
this.Feedback();
}
}
}
private BorderVisibleStyle m_InnerBorderVisibleStyle = BorderVisibleStyle.None;
///
/// 内边框样式
///
public BorderVisibleStyle InnerBorderVisibleStyle
{
get
{
return this.m_InnerBorderVisibleStyle;
}
set
{
if (value != this.m_InnerBorderVisibleStyle)
{
this.m_InnerBorderVisibleStyle = value;
this.Feedback();
}
}
}
private BlendStyle m_InnerBorderBlendStyle = BlendStyle.Solid;
///
/// 内边框混合样式
///
public BlendStyle InnerBorderBlendStyle
{
get
{
return this.m_InnerBorderBlendStyle;
}
set
{
if (value != this.m_InnerBorderBlendStyle)
{
this.m_InnerBorderBlendStyle = value;
this.Feedback();
}
}
}
private DashStyle m_InnerBorderDashStyle = DashStyle.Solid;
///
/// 内边框绘制虚线样式
///
public DashStyle InnerBorderDashStyle
{
get
{
return this.m_InnerBorderDashStyle;
}
set
{
if (value != this.m_InnerBorderDashStyle)
{
this.m_InnerBorderDashStyle = value;
this.Feedback();
}
}
}
private float[] m_InnerBorderDashPattern = null;
///
/// 内边框自定义的短划线和空白区域的数组
///
public float[] InnerBorderDashPattern
{
get
{
return this.m_InnerBorderDashPattern;
}
set
{
if (value != this.m_InnerBorderDashPattern)
{
this.m_InnerBorderDashPattern = value;
this.Feedback();
}
}
}
private DashCap m_InnerBorderDashCap = DashCap.Flat;
///
/// 内边框虚线断弦断终点的线帽样式
///
public DashCap InnerBorderDashCap
{
get
{
return this.m_InnerBorderDashCap;
}
set
{
if (value != this.m_InnerBorderDashCap)
{
this.m_InnerBorderDashCap = value;
this.Feedback();
}
}
}
private float m_InnerBorderDashOffset = 0f;
///
/// 内边框直线的起点到短划线图案起始处的距离
///
public float InnerBorderDashOffset
{
get
{
return this.m_InnerBorderDashOffset;
}
set
{
if (value != this.m_InnerBorderDashOffset)
{
this.m_InnerBorderDashOffset = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColor = DefaultTheme.InnerBorderColor;
///
/// 内边框颜色
///
public Color InnerBorderColor
{
get
{
return this.m_InnerBorderColor;
}
set
{
if (value != this.m_InnerBorderColor)
{
this.m_InnerBorderColor = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColorHovered = DefaultTheme.InnerBorderColor + DefaultTheme.InnerBorderColorHoveredVector;
///
/// 内边框色鼠标移上向量
///
public Color InnerBorderColorHovered
{
get
{
return this.m_InnerBorderColorHovered;
}
set
{
if (value != this.m_InnerBorderColorHovered)
{
this.m_InnerBorderColorHovered = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColorPressed = DefaultTheme.InnerBorderColor + DefaultTheme.InnerBorderColorPressedVector;
///
/// 内边框色鼠标按下向量
///
public Color InnerBorderColorPressed
{
get
{
return this.m_InnerBorderColorPressed;
}
set
{
if (value != this.m_InnerBorderColorPressed)
{
this.m_InnerBorderColorPressed = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColorFocused = DefaultTheme.InnerBorderColor + DefaultTheme.InnerBorderColorFocusedVector;
///
/// 内边框色获取焦点向量
///
public Color InnerBorderColorFocused
{
get
{
return this.m_InnerBorderColorFocused;
}
set
{
if (value != this.m_InnerBorderColorFocused)
{
this.m_InnerBorderColorFocused = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColorDisabled = DefaultTheme.InnerBorderColor + DefaultTheme.InnerBorderColorDisabledVector;
///
/// 内边框色状态禁用向量
///
public Color InnerBorderColorDisabled
{
get
{
return this.m_InnerBorderColorDisabled;
}
set
{
if (value != this.m_InnerBorderColorDisabled)
{
this.m_InnerBorderColorDisabled = value;
this.Feedback();
}
}
}
private Color m_InnerBorderColorHighlight = DefaultTheme.InnerBorderColor + DefaultTheme.InnerBorderColorHighlightVector;
///
/// 内边框色高亮向量
///
public Color InnerBorderColorHighlight
{
get
{
return this.m_InnerBorderColorHighlight;
}
set
{
if (value != this.m_InnerBorderColorHighlight)
{
this.m_InnerBorderColorHighlight = value;
this.Feedback();
}
}
}
private float m_InnerBorderColorPos1 = 0.45f;
///
/// 内边框颜色位置1
///
public float InnerBorderColorPos1
{
get
{
return this.m_InnerBorderColorPos1;
}
set
{
if (value != this.m_InnerBorderColorPos1)
{
this.m_InnerBorderColorPos1 = value;
this.Feedback();
}
}
}
private float m_InnerBorderColorPos2 = 0.5f;
///
/// 内边框颜色位置2
///
public float InnerBorderColorPos2
{
get
{
return this.m_InnerBorderColorPos2;
}
set
{
if (value != this.m_InnerBorderColorPos2)
{
this.m_InnerBorderColorPos2 = value;
this.Feedback();
}
}
}
}
}