added getBitmap to TextBlock