JPlanner Programmer's Guide
Rectangle.withX Method
See Also
 






Creates a new rectangle with x-coordinate set to the specified value and all other values equal to that of the current rectangle.

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

 Syntax

Java  Copy Code

public Rectangle withX (
    int value
)

 Parameters

value

The x-coordinate of the new rectangle.

 Return Value

A Rectangle object.

 See Also

Rectangle Members
Rectangle Class
com.mindfusion.common Namespace