TextLayout.getAlignment

Returns the receiver's horizontal text alignment, which will be one of <code>SWT.LEFT</code>, <code>SWT.CENTER</code> or <code>SWT.RIGHT</code>.

@return the alignment used to positioned text horizontally

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class TextLayout
int
getAlignment
(
)

Meta