Ejemplo n.º 1
0
 public override void Assign(HCShape source)
 {
     base.Assign(source);
     FStartPt.X = (source as HCShapeLine).FStartPt.X;
     FStartPt.Y = (source as HCShapeLine).FStartPt.Y;
     FEndPt.X   = (source as HCShapeLine).FEndPt.X;
     FEndPt.Y   = (source as HCShapeLine).FEndPt.Y;
 }
Ejemplo n.º 2
0
        public override void Assign(HCShape source)
        {
            base.Assign(source);

            FPoints.Clear();
            for (int i = 0; i < (source as HCShapePolygon).Points.Count; i++)
            {
                HCPoint vPoint = new HCPoint(
                    (source as HCShapePolygon).Points[i].X,
                    (source as HCShapePolygon).Points[i].Y);

                FPoints.Add(vPoint);
            }
        }
Ejemplo n.º 3
0
 public virtual void Assign(HCShape source)
 {
     FStyle   = source.Style;
     FVersion = source.Version;
     FColor   = source.Color;
 }