JPlanner Programmer's Guide
Rectangle.fromLTRB Method
See Also
 






Creates a new Rectangle with the specified edge locations.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static Rectangle fromLTRB (
    int l,
    int t,
    int r,
    int b
)

 Parameters

l

The x-coordinate of the left edge of the new rectangle.

t

The y-coordinate of the top edge of the new rectangle.

r

The x-coordinate of the right edge of the new rectangle.

b

The y-coordinate of the bottom edge of the new rectangle.

 Return Value

The new Rectangle instance.

 See Also

Rectangle Members
Rectangle Class
com.mindfusion.common Namespace