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:10 CET 2013 --> |
||
| 6 | <TITLE> |
||
| 7 | Pixmap.Format (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="Pixmap.Format (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> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Pixmap.Format.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Filter.html" title="enum in com.badlogic.gdx.graphics"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/graphics/PixmapIO.html" title="class in com.badlogic.gdx.graphics"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/graphics/Pixmap.Format.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="Pixmap.Format.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <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: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></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.graphics</FONT> |
||
| 107 | <BR> |
||
| 108 | Enum Pixmap.Format</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Enum<<A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A>> |
||
| 112 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.graphics.Pixmap.Format</B> |
||
| 113 | </PRE> |
||
| 114 | <DL> |
||
| 115 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable<<A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A>></DD> |
||
| 116 | </DL> |
||
| 117 | <DL> |
||
| 118 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.html" title="class in com.badlogic.gdx.graphics">Pixmap</A></DD> |
||
| 119 | </DL> |
||
| 120 | <HR> |
||
| 121 | <DL> |
||
| 122 | <DT><PRE>public static enum <B>Pixmap.Format</B><DT>extends java.lang.Enum<<A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A>></DL> |
||
| 123 | </PRE> |
||
| 124 | |||
| 125 | <P> |
||
| 126 | Different pixel formats. |
||
| 127 | <P> |
||
| 128 | |||
| 129 | <P> |
||
| 130 | <DL> |
||
| 131 | <DT><B>Author:</B></DT> |
||
| 132 | <DD>mzechner</DD> |
||
| 133 | </DL> |
||
| 134 | <HR> |
||
| 135 | |||
| 136 | <P> |
||
| 137 | <!-- =========== ENUM CONSTANT SUMMARY =========== --> |
||
| 138 | |||
| 139 | <A NAME="enum_constant_summary"><!-- --></A> |
||
| 140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 142 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 143 | <B>Enum Constant Summary</B></FONT></TH> |
||
| 144 | </TR> |
||
| 145 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 146 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#Alpha">Alpha</A></B></CODE> |
||
| 147 | |||
| 148 | <BR> |
||
| 149 | </TD> |
||
| 150 | </TR> |
||
| 151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 152 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#Intensity">Intensity</A></B></CODE> |
||
| 153 | |||
| 154 | <BR> |
||
| 155 | </TD> |
||
| 156 | </TR> |
||
| 157 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 158 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#LuminanceAlpha">LuminanceAlpha</A></B></CODE> |
||
| 159 | |||
| 160 | <BR> |
||
| 161 | </TD> |
||
| 162 | </TR> |
||
| 163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 164 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#RGB565">RGB565</A></B></CODE> |
||
| 165 | |||
| 166 | <BR> |
||
| 167 | </TD> |
||
| 168 | </TR> |
||
| 169 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 170 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#RGB888">RGB888</A></B></CODE> |
||
| 171 | |||
| 172 | <BR> |
||
| 173 | </TD> |
||
| 174 | </TR> |
||
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 176 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#RGBA4444">RGBA4444</A></B></CODE> |
||
| 177 | |||
| 178 | <BR> |
||
| 179 | </TD> |
||
| 180 | </TR> |
||
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 182 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#RGBA8888">RGBA8888</A></B></CODE> |
||
| 183 | |||
| 184 | <BR> |
||
| 185 | </TD> |
||
| 186 | </TR> |
||
| 187 | </TABLE> |
||
| 188 | |
||
| 189 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 190 | |||
| 191 | <A NAME="method_summary"><!-- --></A> |
||
| 192 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 193 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 194 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 195 | <B>Method Summary</B></FONT></TH> |
||
| 196 | </TR> |
||
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 199 | <CODE>static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A></CODE></FONT></TD> |
||
| 200 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#fromGdx2DPixmapFormat(int)">fromGdx2DPixmapFormat</A></B>(int format)</CODE> |
||
| 201 | |||
| 202 | <BR> |
||
| 203 | </TD> |
||
| 204 | </TR> |
||
| 205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 207 | <CODE>static int</CODE></FONT></TD> |
||
| 208 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#toGdx2DPixmapFormat(com.badlogic.gdx.graphics.Pixmap.Format)">toGdx2DPixmapFormat</A></B>(<A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> format)</CODE> |
||
| 209 | |||
| 210 | <BR> |
||
| 211 | </TD> |
||
| 212 | </TR> |
||
| 213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 215 | <CODE>static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A></CODE></FONT></TD> |
||
| 216 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String name)</CODE> |
||
| 217 | |||
| 218 | <BR> |
||
| 219 | Returns the enum constant of this type with the specified name.</TD> |
||
| 220 | </TR> |
||
| 221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 223 | <CODE>static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A>[]</CODE></FONT></TD> |
||
| 224 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html#values()">values</A></B>()</CODE> |
||
| 225 | |||
| 226 | <BR> |
||
| 227 | Returns an array containing the constants of this enum type, in |
||
| 228 | the order they are declared.</TD> |
||
| 229 | </TR> |
||
| 230 | </TABLE> |
||
| 231 | <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> |
||
| 232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 233 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 234 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Enum</B></TH> |
||
| 235 | </TR> |
||
| 236 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 237 | <TD><CODE>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</CODE></TD> |
||
| 238 | </TR> |
||
| 239 | </TABLE> |
||
| 240 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 241 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 242 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 243 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 244 | </TR> |
||
| 245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 246 | <TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD> |
||
| 247 | </TR> |
||
| 248 | </TABLE> |
||
| 249 | |
||
| 250 | <P> |
||
| 251 | |||
| 252 | <!-- ============ ENUM CONSTANT DETAIL =========== --> |
||
| 253 | |||
| 254 | <A NAME="enum_constant_detail"><!-- --></A> |
||
| 255 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 256 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 257 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 258 | <B>Enum Constant Detail</B></FONT></TH> |
||
| 259 | </TR> |
||
| 260 | </TABLE> |
||
| 261 | |||
| 262 | <A NAME="Alpha"><!-- --></A><H3> |
||
| 263 | Alpha</H3> |
||
| 264 | <PRE> |
||
| 265 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>Alpha</B></PRE> |
||
| 266 | <DL> |
||
| 267 | <DL> |
||
| 268 | </DL> |
||
| 269 | </DL> |
||
| 270 | <HR> |
||
| 271 | |||
| 272 | <A NAME="Intensity"><!-- --></A><H3> |
||
| 273 | Intensity</H3> |
||
| 274 | <PRE> |
||
| 275 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>Intensity</B></PRE> |
||
| 276 | <DL> |
||
| 277 | <DL> |
||
| 278 | </DL> |
||
| 279 | </DL> |
||
| 280 | <HR> |
||
| 281 | |||
| 282 | <A NAME="LuminanceAlpha"><!-- --></A><H3> |
||
| 283 | LuminanceAlpha</H3> |
||
| 284 | <PRE> |
||
| 285 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>LuminanceAlpha</B></PRE> |
||
| 286 | <DL> |
||
| 287 | <DL> |
||
| 288 | </DL> |
||
| 289 | </DL> |
||
| 290 | <HR> |
||
| 291 | |||
| 292 | <A NAME="RGB565"><!-- --></A><H3> |
||
| 293 | RGB565</H3> |
||
| 294 | <PRE> |
||
| 295 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>RGB565</B></PRE> |
||
| 296 | <DL> |
||
| 297 | <DL> |
||
| 298 | </DL> |
||
| 299 | </DL> |
||
| 300 | <HR> |
||
| 301 | |||
| 302 | <A NAME="RGBA4444"><!-- --></A><H3> |
||
| 303 | RGBA4444</H3> |
||
| 304 | <PRE> |
||
| 305 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>RGBA4444</B></PRE> |
||
| 306 | <DL> |
||
| 307 | <DL> |
||
| 308 | </DL> |
||
| 309 | </DL> |
||
| 310 | <HR> |
||
| 311 | |||
| 312 | <A NAME="RGB888"><!-- --></A><H3> |
||
| 313 | RGB888</H3> |
||
| 314 | <PRE> |
||
| 315 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>RGB888</B></PRE> |
||
| 316 | <DL> |
||
| 317 | <DL> |
||
| 318 | </DL> |
||
| 319 | </DL> |
||
| 320 | <HR> |
||
| 321 | |||
| 322 | <A NAME="RGBA8888"><!-- --></A><H3> |
||
| 323 | RGBA8888</H3> |
||
| 324 | <PRE> |
||
| 325 | public static final <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>RGBA8888</B></PRE> |
||
| 326 | <DL> |
||
| 327 | <DL> |
||
| 328 | </DL> |
||
| 329 | </DL> |
||
| 330 | |||
| 331 | <!-- ============ METHOD DETAIL ========== --> |
||
| 332 | |||
| 333 | <A NAME="method_detail"><!-- --></A> |
||
| 334 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 335 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 336 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 337 | <B>Method Detail</B></FONT></TH> |
||
| 338 | </TR> |
||
| 339 | </TABLE> |
||
| 340 | |||
| 341 | <A NAME="values()"><!-- --></A><H3> |
||
| 342 | values</H3> |
||
| 343 | <PRE> |
||
| 344 | public static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A>[] <B>values</B>()</PRE> |
||
| 345 | <DL> |
||
| 346 | <DD>Returns an array containing the constants of this enum type, in |
||
| 347 | the order they are declared. This method may be used to iterate |
||
| 348 | over the constants as follows: |
||
| 349 | <pre> |
||
| 350 | for (Pixmap.Format c : Pixmap.Format.values()) |
||
| 351 | System.out.println(c); |
||
| 352 | </pre> |
||
| 353 | <P> |
||
| 354 | <DD><DL> |
||
| 355 | |||
| 356 | <DT><B>Returns:</B><DD>an array containing the constants of this enum type, in |
||
| 357 | the order they are declared</DL> |
||
| 358 | </DD> |
||
| 359 | </DL> |
||
| 360 | <HR> |
||
| 361 | |||
| 362 | <A NAME="valueOf(java.lang.String)"><!-- --></A><H3> |
||
| 363 | valueOf</H3> |
||
| 364 | <PRE> |
||
| 365 | public static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>valueOf</B>(java.lang.String name)</PRE> |
||
| 366 | <DL> |
||
| 367 | <DD>Returns the enum constant of this type with the specified name. |
||
| 368 | The string must match <I>exactly</I> an identifier used to declare an |
||
| 369 | enum constant in this type. (Extraneous whitespace characters are |
||
| 370 | not permitted.) |
||
| 371 | <P> |
||
| 372 | <DD><DL> |
||
| 373 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. |
||
| 374 | <DT><B>Returns:</B><DD>the enum constant with the specified name |
||
| 375 | <DT><B>Throws:</B> |
||
| 376 | <DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constant |
||
| 377 | with the specified name |
||
| 378 | <DD><CODE>java.lang.NullPointerException</CODE> - if the argument is null</DL> |
||
| 379 | </DD> |
||
| 380 | </DL> |
||
| 381 | <HR> |
||
| 382 | |||
| 383 | <A NAME="toGdx2DPixmapFormat(com.badlogic.gdx.graphics.Pixmap.Format)"><!-- --></A><H3> |
||
| 384 | toGdx2DPixmapFormat</H3> |
||
| 385 | <PRE> |
||
| 386 | public static int <B>toGdx2DPixmapFormat</B>(<A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> format)</PRE> |
||
| 387 | <DL> |
||
| 388 | <DD><DL> |
||
| 389 | </DL> |
||
| 390 | </DD> |
||
| 391 | </DL> |
||
| 392 | <HR> |
||
| 393 | |||
| 394 | <A NAME="fromGdx2DPixmapFormat(int)"><!-- --></A><H3> |
||
| 395 | fromGdx2DPixmapFormat</H3> |
||
| 396 | <PRE> |
||
| 397 | public static <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Format.html" title="enum in com.badlogic.gdx.graphics">Pixmap.Format</A> <B>fromGdx2DPixmapFormat</B>(int format)</PRE> |
||
| 398 | <DL> |
||
| 399 | <DD><DL> |
||
| 400 | </DL> |
||
| 401 | </DD> |
||
| 402 | </DL> |
||
| 403 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 404 | <HR> |
||
| 405 | |||
| 406 | |||
| 407 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 408 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 409 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 410 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 411 | <TR> |
||
| 412 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 413 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 414 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 415 | <TR ALIGN="center" VALIGN="top"> |
||
| 416 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 417 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 418 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 419 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Pixmap.Format.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 420 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 421 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 422 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 423 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 424 | </TR> |
||
| 425 | </TABLE> |
||
| 426 | </TD> |
||
| 427 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 428 | libgdx API</EM> |
||
| 429 | </TD> |
||
| 430 | </TR> |
||
| 431 | |||
| 432 | <TR> |
||
| 433 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 434 | <A HREF="../../../../com/badlogic/gdx/graphics/Pixmap.Filter.html" title="enum in com.badlogic.gdx.graphics"><B>PREV CLASS</B></A> |
||
| 435 | <A HREF="../../../../com/badlogic/gdx/graphics/PixmapIO.html" title="class in com.badlogic.gdx.graphics"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 436 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 437 | <A HREF="../../../../index.html?com/badlogic/gdx/graphics/Pixmap.Format.html" target="_top"><B>FRAMES</B></A> |
||
| 438 | <A HREF="Pixmap.Format.html" target="_top"><B>NO FRAMES</B></A> |
||
| 439 | <SCRIPT type="text/javascript"> |
||
| 440 | <!-- |
||
| 441 | if(window==top) { |
||
| 442 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 443 | } |
||
| 444 | //--> |
||
| 445 | </SCRIPT> |
||
| 446 | <NOSCRIPT> |
||
| 447 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 448 | </NOSCRIPT> |
||
| 449 | |||
| 450 | |||
| 451 | </FONT></TD> |
||
| 452 | </TR> |
||
| 453 | <TR> |
||
| 454 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 455 | SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 456 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 457 | DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 458 | </TR> |
||
| 459 | </TABLE> |
||
| 460 | <A NAME="skip-navbar_bottom"></A> |
||
| 461 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 462 | |||
| 463 | <HR> |
||
| 464 | |||
| 465 | <div style="font-size:9pt"><i> |
||
| 466 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 467 | </i></div> |
||
| 468 | |||
| 469 | </BODY> |
||
| 470 | </HTML> |