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); }
public virtual void SetSize(RelativeSize w, RelativeSize h) { Width = w.Clone(); Height = h.Clone(); }
public RelativeSizeXY Clone() { return(new RelativeSizeXY(Width.Clone(), Height.Clone())); }