implemented IOSImage::InitWithText()