Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:03 CET 2013 -->
6
<TITLE>
7
Align (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Align (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Align.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ActorGestureListener.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/BaseDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/utils/Align.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Align.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.scenes.scene2d.utils</FONT>
107
<BR>
108
Class Align</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.scenes.scene2d.utils.Align</B>
112
</PRE>
113
<HR>
114
<DL>
115
<DT><PRE>public class <B>Align</B><DT>extends java.lang.Object</DL>
116
</PRE>
117
 
118
<P>
119
Provides bit flag constants for alignment.
120
<P>
121
 
122
<P>
123
<DL>
124
<DT><B>Author:</B></DT>
125
  <DD>Nathan Sweet</DD>
126
</DL>
127
<HR>
128
 
129
<P>
130
<!-- =========== FIELD SUMMARY =========== -->
131
 
132
<A NAME="field_summary"><!-- --></A>
133
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
136
<B>Field Summary</B></FONT></TH>
137
</TR>
138
<TR BGCOLOR="white" CLASS="TableRowColor">
139
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140
<CODE>static&nbsp;int</CODE></FONT></TD>
141
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#bottom">bottom</A></B></CODE>
142
 
143
<BR>
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148
<CODE>static&nbsp;int</CODE></FONT></TD>
149
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#center">center</A></B></CODE>
150
 
151
<BR>
152
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
153
</TR>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
<CODE>static&nbsp;int</CODE></FONT></TD>
157
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#left">left</A></B></CODE>
158
 
159
<BR>
160
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161
</TR>
162
<TR BGCOLOR="white" CLASS="TableRowColor">
163
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
<CODE>static&nbsp;int</CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#right">right</A></B></CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172
<CODE>static&nbsp;int</CODE></FONT></TD>
173
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#top">top</A></B></CODE>
174
 
175
<BR>
176
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
177
</TR>
178
</TABLE>
179
&nbsp;
180
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
181
 
182
<A NAME="constructor_summary"><!-- --></A>
183
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
186
<B>Constructor Summary</B></FONT></TH>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Align.html#Align()">Align</A></B>()</CODE>
190
 
191
<BR>
192
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
193
</TR>
194
</TABLE>
195
&nbsp;
196
<!-- ========== METHOD SUMMARY =========== -->
197
 
198
<A NAME="method_summary"><!-- --></A>
199
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
201
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
202
<B>Method Summary</B></FONT></TH>
203
</TR>
204
</TABLE>
205
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
206
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
207
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
208
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
209
</TR>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
212
</TR>
213
</TABLE>
214
&nbsp;
215
<P>
216
 
217
<!-- ============ FIELD DETAIL =========== -->
218
 
219
<A NAME="field_detail"><!-- --></A>
220
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
221
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
223
<B>Field Detail</B></FONT></TH>
224
</TR>
225
</TABLE>
226
 
227
<A NAME="center"><!-- --></A><H3>
228
center</H3>
229
<PRE>
230
public static final int <B>center</B></PRE>
231
<DL>
232
<DL>
233
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.badlogic.gdx.scenes.scene2d.utils.Align.center">Constant Field Values</A></DL>
234
</DL>
235
<HR>
236
 
237
<A NAME="top"><!-- --></A><H3>
238
top</H3>
239
<PRE>
240
public static final int <B>top</B></PRE>
241
<DL>
242
<DL>
243
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.badlogic.gdx.scenes.scene2d.utils.Align.top">Constant Field Values</A></DL>
244
</DL>
245
<HR>
246
 
247
<A NAME="bottom"><!-- --></A><H3>
248
bottom</H3>
249
<PRE>
250
public static final int <B>bottom</B></PRE>
251
<DL>
252
<DL>
253
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.badlogic.gdx.scenes.scene2d.utils.Align.bottom">Constant Field Values</A></DL>
254
</DL>
255
<HR>
256
 
257
<A NAME="left"><!-- --></A><H3>
258
left</H3>
259
<PRE>
260
public static final int <B>left</B></PRE>
261
<DL>
262
<DL>
263
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.badlogic.gdx.scenes.scene2d.utils.Align.left">Constant Field Values</A></DL>
264
</DL>
265
<HR>
266
 
267
<A NAME="right"><!-- --></A><H3>
268
right</H3>
269
<PRE>
270
public static final int <B>right</B></PRE>
271
<DL>
272
<DL>
273
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.badlogic.gdx.scenes.scene2d.utils.Align.right">Constant Field Values</A></DL>
274
</DL>
275
 
276
<!-- ========= CONSTRUCTOR DETAIL ======== -->
277
 
278
<A NAME="constructor_detail"><!-- --></A>
279
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
280
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
281
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
282
<B>Constructor Detail</B></FONT></TH>
283
</TR>
284
</TABLE>
285
 
286
<A NAME="Align()"><!-- --></A><H3>
287
Align</H3>
288
<PRE>
289
public <B>Align</B>()</PRE>
290
<DL>
291
</DL>
292
<!-- ========= END OF CLASS DATA ========= -->
293
<HR>
294
 
295
 
296
<!-- ======= START OF BOTTOM NAVBAR ====== -->
297
<A NAME="navbar_bottom"><!-- --></A>
298
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
299
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
300
<TR>
301
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
302
<A NAME="navbar_bottom_firstrow"><!-- --></A>
303
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
304
  <TR ALIGN="center" VALIGN="top">
305
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
306
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
307
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
308
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Align.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
309
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
310
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
311
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
312
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
313
  </TR>
314
</TABLE>
315
</TD>
316
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
317
libgdx API</EM>
318
</TD>
319
</TR>
320
 
321
<TR>
322
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
323
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ActorGestureListener.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>PREV CLASS</B></A>&nbsp;
324
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/BaseDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>NEXT CLASS</B></A></FONT></TD>
325
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
326
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/utils/Align.html" target="_top"><B>FRAMES</B></A>  &nbsp;
327
&nbsp;<A HREF="Align.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
328
&nbsp;<SCRIPT type="text/javascript">
329
  <!--
330
  if(window==top) {
331
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
332
  }
333
  //-->
334
</SCRIPT>
335
<NOSCRIPT>
336
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
337
</NOSCRIPT>
338
 
339
 
340
</FONT></TD>
341
</TR>
342
<TR>
343
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
344
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
345
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
346
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
347
</TR>
348
</TABLE>
349
<A NAME="skip-navbar_bottom"></A>
350
<!-- ======== END OF BOTTOM NAVBAR ======= -->
351
 
352
<HR>
353
 
354
                                <div style="font-size:9pt"><i>
355
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
356
                                </i></div>
357
 
358
</BODY>
359
</HTML>