PixelFarm.Drawing.RectangleF.FromLTRB C# (CSharp) Method

FromLTRB() public static method

FromLTRB Shared Method
Produces a RectangleF structure from left, top, right, and bottom coordinates.
public static FromLTRB ( float left, float top, float right, float bottom ) : RectangleF
left float
top float
right float
bottom float
return RectangleF
        public static RectangleF FromLTRB(float left, float top,
                           float right, float bottom)
        {
            return new RectangleF(left, top, right - left, bottom - top);
        }