Rectangle.getRight

Overview | Methods | Fields | ThisPackage | All Packages

Rectangle.getRight

Retrieves the rightmost point on the rectangle's x-axis.

Syntax

public final int getRight()

Return Value

Returns the rightmost point on the rectangle's x-axis. This value equates to the sum of the rectangle's x-coordinate and its width.