Changed extentOfText -> extent