:orphan:

==================
TKE_Text_Alignment
==================

Opcode
======

.. csv-table::

	"ASCII", "\*"
	"Hexadecimal", "2A"
	"Decimal", "42"


Operands
========

Byte alignment

.. csv-table::

	"alignment", "combined enumerations of text alignment and justification"


Notes
=====

Indicates how the text should be drawn relative to the insertion point (lower nibble of value), and for multiline text, justification - how the lines align against each other (upper nibble of value).


Alignment enumeration
---------------------

.. raw:: html

	<table BORDER =1 WIDTH="230">
	  <TR> 
		<TD height=21 width=50>0</TD>
		<TD height=21 width=390>Lower Left</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>1</TD>
		<TD height=21 width=390>Upper Left</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>2</TD>
		<TD height=21 width=390>Center Left</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>3</TD>
		<TD height=21 width=390>Lower Right</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>4</TD>
		<TD height=21 width=390>Upper Right</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>5</TD>
		<TD height=21 width=390>Center Right</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>6</TD>
		<TD height=21 width=390>Lower Center</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>7</TD>
		<TD height=21 width=390>Upper Center</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>8</TD>
		<TD height=21 width=390>Center</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>9</TD>
		<TD height=21 width=390>Insertion Point</TD>
	  </TR>
	  <TR> 
		<TD height=21 width=50>15</TD>
		<TD height=21 width=390>no setting</TD>
	  </TR>
	</table>


Justification Enumeration
-------------------------

.. csv-table::

	"0", "no setting"
	"1", "Left"
	"2", "Center"
	"3", "Right"
