Beispiel #1
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param mapText     map object copy from.
         */
        public MapText(MapText mapText)
            : base(mapText)
        {
            SetMapObjectType(TEXT);
            Point         = new GeoLatLng(mapText.Point);
            Angle         = mapText.Angle;
            BackColor     = mapText.BackColor;
            ForeColor     = mapText.ForeColor;
            Justification = mapText.Justification;
            Spacing       = mapText.Spacing;
            LineType      = mapText.LineType;
            TextString    = mapText.TextString;
            Font          = mapText.Font;
        }
Beispiel #2
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param mapText     map object copy from.
  */
 public MapText(MapText mapText)
     : base(mapText)
 {
     SetMapObjectType(TEXT);
     Point = new GeoLatLng(mapText.Point);
     Angle = mapText.Angle;
     BackColor = mapText.BackColor;
     ForeColor = mapText.ForeColor;
     Justification = mapText.Justification;
     Spacing = mapText.Spacing;
     LineType = mapText.LineType;
     TextString = mapText.TextString;
     Font = mapText.Font;
 }