Constructs a new instance of this class on the given device. <p> You must dispose the text layout when it is no longer required. </p>
@param device the device on which to allocate the text layout
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> </ul>
@see #dispose()
See Implementation
Constructs a new instance of this class on the given device. <p> You must dispose the text layout when it is no longer required. </p>
@param device the device on which to allocate the text layout
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> </ul>
@see #dispose()