Пример #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;
			}