Added visible property on text object & measure method on text object