//public ISize PlusVertical(ISize adding) //{ // return GeometryHelper.PlusVertical(this, adding); //} public Boolean Equals(ISize other) { return(GeometryHelper.AreSizesEqual(this, other)); }
public Boolean Contains(Int32 x, Int32 y) { return(GeometryHelper.IsRectangleContains(this, x, y)); }
public Boolean Contains(Double x, Double y) { return(GeometryHelper.IsRectangleContains(this, x, y)); }
public override Boolean Equals(Object obj) { return(obj is IRectangle r && GeometryHelper.AreRectsEqual(this, r)); }
public Boolean Contains(IPoint2D point2D) { return(GeometryHelper.IsRectangleContains(this, point2D)); }
public IPoint2D Offset(Double pct) { return(GeometryHelper.Offset(this, pct)); }
//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)); }
public IRenderSize Minus(ISize subtract) { return(GeometryHelper.Minus(this, subtract)); }
public ISize PlusVertical(ISize adding) { return(GeometryHelper.PlusVertical(this, adding)); }