midX() Returns the midpoint along the x-axis of a rectangle. DeclarationmidX(): number; See AlsoObtaining rectangle metricsmaxX()maxY()midY()minX()minY()