Shape::getBounds() Syntax Java Return Shape::getBounds() Get the bounds of the shape. Syntax Java .getBounds() Return Bounds getBounds()