Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.