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
Java
![]() |
---|
public Rectangle withX ( |
The x-coordinate of the new rectangle.
A Rectangle object.