Пример #1
0
        public RelativeRect Clone()
        {
            RelativeRect rect = new RelativeRect(X.Clone(), Y.Clone(), Width.Clone(), Height.Clone());

            rect.InscribedRadius  = InscribedRadius;
            rect.PixelOrigin      = PixelOrigin;
            rect.ParrentPixelSize = ParrentPixelSize;
            rect.AnchorLocation   = AnchorLocation;

            return(rect);
        }
Пример #2
0
 public virtual void SetLocation(RelativeLoc x, RelativeLoc y)
 {
     X = x.Clone();
     Y = y.Clone();
 }
 public RelativePoint Clone()
 {
     return(new RelativePoint(X.Clone(), Y.Clone()));
 }