CellRenderer.setAlignment

Sets the renderer’s alignment within its available space.

class CellRenderer
void
setAlignment
(
float xalign
,
float yalign
)

Parameters

xalign float

the x alignment of the cell renderer

yalign float

the y alignment of the cell renderer

Meta