PixelFarm.Drawing.RectangleF.FromLTRB C# (CSharp) Метод

FromLTRB() публичный статический Метод

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
Результат RectangleF
        public static RectangleF FromLTRB(float left, float top,
                           float right, float bottom)
        {
            return new RectangleF(left, top, right - left, bottom - top);
        }