maxX() Returns the maximum x-axis value of a rectangle. DeclarationmaxX(): number; See AlsoObtaining rectangle metricsmaxY()midX()midY()minX()minY()