示例#1
0
        public override bool Contain(object data)
        {
            TpPenStyle st = data as TpPenStyle;

            if (st != null)
            {
                return(style.isEqual((TpPenStyle)data));
            }
            else
            {
                return(style.style == (DashStyle)data);
            }
        }
示例#2
0
 public TpLineStyleItem(DashStyle _style)
 {
     style = new TpPenStyle(_style, LineCap.Flat, LineCap.Flat);
 }
示例#3
0
 public TpLineStyleItem(TpPenStyle _style)
 {
     style = _style;
 }
示例#4
0
 public bool isEqual(TpPenStyle st)
 {
     return(style == st.style && beginCap == st.beginCap && endCap == st.endCap);
 }
示例#5
0
		public TpLineStyleItem(DashStyle _style)
		{
			style = new TpPenStyle(_style, LineCap.Flat, LineCap.Flat);
		}
示例#6
0
		public TpLineStyleItem(TpPenStyle _style)
		{
			style = _style;
		}
示例#7
0
			public bool isEqual(TpPenStyle st)
			{
				return style == st.style && beginCap == st.beginCap && endCap == st.endCap;
			}