Example #1
0
 public TextFeature(Point oP, string Text, Style oStyle, Point lineEnd, int endType)
 {
     m_oText = Text;
     m_oPosition = oP;
     m_oStyle = oStyle;
     m_oLineEnd = lineEnd;
     m_iEndType = endType;
 }
Example #2
0
 public TextFeature(DPoint oP, string Text, Style oStyle)
 {
     m_oText = Text;
     //m_oPosition = oP;
     base.m_oStyle = oStyle;
     m_oLineEnd = new Point();
     m_iEndType = 0;
 }
Example #3
0
        /// <summary>
        /// creates one part polyline
        /// </summary>
        /// <param name="oPoints"></param>
        /// <param name="oStyle"></param>
        public PolylineFeature(List<DPoint> oPoints, Style oStyle)
        {
            m_oParts = new List<Part>();
            Part oPart = new Part();
            m_oParts.Add(oPart);
            m_oStyle = oStyle;

            oPart.Points.AddRange(oPoints);
        }
Example #4
0
 public static TextFeature CreateText(DPoint oPoint, string Text, Style oStyle)
 {
     return new TextFeature(oPoint, Text, oStyle);
 }
Example #5
0
 public static PolylineFeature CreatePolyline(List<DPoint> oPoints, Style oStyle)
 {
     return new PolylineFeature(oPoints, oStyle);
 }