Text::getX() Syntax Java Return Text::getX() Returns the x-coordinate of this object. Syntax Java .getX() Return double getX()