Пример #1
0
        //public ISize PlusVertical(ISize adding)
        //{
        //    return GeometryHelper.PlusVertical(this, adding);
        //}

        public Boolean Equals(ISize other)
        {
            return(GeometryHelper.AreSizesEqual(this, other));
        }
Пример #2
0
 public Boolean Contains(Int32 x, Int32 y)
 {
     return(GeometryHelper.IsRectangleContains(this, x, y));
 }
Пример #3
0
 public Boolean Contains(Double x, Double y)
 {
     return(GeometryHelper.IsRectangleContains(this, x, y));
 }
Пример #4
0
 public override Boolean Equals(Object obj)
 {
     return(obj is IRectangle r && GeometryHelper.AreRectsEqual(this, r));
 }
Пример #5
0
 public Boolean Contains(IPoint2D point2D)
 {
     return(GeometryHelper.IsRectangleContains(this, point2D));
 }
 public IPoint2D Offset(Double pct)
 {
     return(GeometryHelper.Offset(this, pct));
 }
Пример #7
0
        //public ISize Reduce(Thickness padding)
        //{
        //    return GeometryHelper.Reduce(this, padding);
        //}

        //ISize ISize.Minus(ISize subtract)
        //{
        //    return GeometryHelper.Minus(this, subtract);
        //}

        public Boolean Equals(IRectangle other)
        {
            return(GeometryHelper.AreRectsEqual(this, other));
        }
 public ValueSize ToValueSize()
 {
     return(GeometryHelper.ToValueSize(this));
 }
 public Boolean Equals(IPoint2D other)
 {
     return(GeometryHelper.ArePoints2DEqual(this, other));
 }
 public Double CenterX(ISize item)
 {
     return(GeometryHelper.CenterX(this, item));
 }
 public ValueIntRectangle GetUnion(IEnumerable <IRoundedRectangle> others)
 {
     return(GeometryHelper.GetUnion(this, others));
 }
 public ValueIntRectangle GetUnion(IRoundedRectangle other)
 {
     return(GeometryHelper.GetUnion(this, other));
 }
Пример #13
0
 public IRenderSize Minus(ISize subtract)
 {
     return(GeometryHelper.Minus(this, subtract));
 }
Пример #14
0
 public ISize PlusVertical(ISize adding)
 {
     return(GeometryHelper.PlusVertical(this, adding));
 }