public PageRect(PagePoint location, PageSize size)
     : this()
 {
     X      = location.X;
     Y      = location.Y;
     Width  = size.Width;
     Height = size.Height;
 }
 public PageRect(PagePoint location, PageSize size)
     : this()
 {
     X = location.X;
     Y = location.Y;
     Width = size.Width;
     Height = size.Height;
 }
Пример #3
0
        public override bool Equals(object obj)
        {
            if (!(obj is PagePoint))
            {
                return(false);
            }
            PagePoint point = (PagePoint)obj;

            return(point == this);
        }