<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:47 CET 2013 -->
<title>Uses of Class com.badlogic.gdx.graphics.g2d.SpriteBatch (libgdx API)
</title>
<meta name="date" content="2013-11-03">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.badlogic.gdx.graphics.g2d.SpriteBatch (libgdx API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.
</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview
</a></li>
<li><a href="../package-summary.html">Package
</a></li>
<li><a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">Class
</a></li>
<li class="navBarCell1Rev">Use
</li>
<li><a href="../../../../../../overview-tree.html">Tree
</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>
libgdx API
<style>
body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold }
.TableHeadingColor { background:#EEEEFF; }
a { text-decoration:none }
a:hover { text-decoration:underline }
a:link, a:visited { color:blue }
table { border:0px }
.TableRowColor td:first-child { border-left:1px solid black }
.TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
hr { border:0px; border-bottom:1px solid #333366; }
</style>
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev
</li>
<li>Next
</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?com/badlogic/gdx/graphics/g2d/class-use/SpriteBatch.html" target="_top">Frames
</a></li>
<li><a href="SpriteBatch.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.badlogic.gdx.graphics.g2d.SpriteBatch" class="title">Uses of Class
<br>com.badlogic.gdx.graphics.g2d.SpriteBatch
</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package
</th>
<th class="colLast" scope="col">Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g2d">com.badlogic.gdx.graphics.g2d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.maps.tiled.renderers">com.badlogic.gdx.maps.tiled.renderers
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.scenes.scene2d">com.badlogic.gdx.scenes.scene2d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.scenes.scene2d.ui">com.badlogic.gdx.scenes.scene2d.ui
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.scenes.scene2d.utils">com.badlogic.gdx.scenes.scene2d.utils
</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.badlogic.gdx.graphics.g2d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> in
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/package-summary.html">com.badlogic.gdx.graphics.g2d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/package-summary.html">com.badlogic.gdx.graphics.g2d
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">BitmapFontCache.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFontCache.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ParticleEffect.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/ParticleEffect.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ParticleEmitter.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/ParticleEmitter.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Sprite.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/Sprite.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y)
</code>
<div class="block">Draws a string at the specified position.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float, int, int)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y,
int
start,
int
end)
</code>
<div class="block">Draws a string at the specified position.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">BitmapFontCache.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFontCache.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
float
alphaModulation)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ParticleEffect.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/ParticleEffect.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
float
delta)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ParticleEmitter.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/ParticleEmitter.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
float
delta)
</code>
<div class="block">Updates and draws the particles.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Sprite.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/Sprite.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
float
alphaModulation)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">NinePatch.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/NinePatch.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">BitmapFontCache.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFontCache.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, int, int)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
int
start,
int
end)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#drawMultiLine(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float)">drawMultiLine
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y)
</code>
<div class="block">Draws a string, which may contain newlines (\n), at the specified position.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#drawMultiLine(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float, float, com.badlogic.gdx.graphics.g2d.BitmapFont.HAlignment)">drawMultiLine
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y,
float
alignmentWidth,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.HAlignment.html" title="enum in com.badlogic.gdx.graphics.g2d">BitmapFont.HAlignment
</a> alignment)
</code>
<div class="block">Draws a string, which may contain newlines (\n), at the specified position.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#drawWrapped(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float, float)">drawWrapped
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y,
float
wrapWidth)
</code>
<div class="block">Draws a string, which may contain newlines (\n), with the specified position.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.TextBounds.html" title="class in com.badlogic.gdx.graphics.g2d">BitmapFont.TextBounds
</a></code></td>
<td class="colLast"><span class="strong">BitmapFont.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.html#drawWrapped(com.badlogic.gdx.graphics.g2d.SpriteBatch, java.lang.CharSequence, float, float, float, com.badlogic.gdx.graphics.g2d.BitmapFont.HAlignment)">drawWrapped
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch,
java.lang.CharSequence
str,
float
x,
float
y,
float
wrapWidth,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/BitmapFont.HAlignment.html" title="enum in com.badlogic.gdx.graphics.g2d">BitmapFont.HAlignment
</a> alignment)
</code>
<div class="block">Draws a string, which may contain newlines (\n), with the specified position.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.maps.tiled.renderers">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> in
<a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a> declared as
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></code></td>
<td class="colLast"><span class="strong">BatchTiledMapRenderer.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.html#spriteBatch">spriteBatch
</a></strong></code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a> that return
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></code></td>
<td class="colLast"><span class="strong">BatchTiledMapRenderer.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.html#getSpriteBatch()">getSpriteBatch
</a></strong>()
</code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in
<a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.html#BatchTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, float, com.badlogic.gdx.graphics.g2d.SpriteBatch)">BatchTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
float
unitScale,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.html#BatchTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, com.badlogic.gdx.graphics.g2d.SpriteBatch)">BatchTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/HexagonalTiledMapRenderer.html#HexagonalTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, float, com.badlogic.gdx.graphics.g2d.SpriteBatch)">HexagonalTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
float
unitScale,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/HexagonalTiledMapRenderer.html#HexagonalTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, com.badlogic.gdx.graphics.g2d.SpriteBatch)">HexagonalTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/IsometricStaggeredTiledMapRenderer.html#IsometricStaggeredTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, float, com.badlogic.gdx.graphics.g2d.SpriteBatch)">IsometricStaggeredTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
float
unitScale,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/IsometricStaggeredTiledMapRenderer.html#IsometricStaggeredTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, com.badlogic.gdx.graphics.g2d.SpriteBatch)">IsometricStaggeredTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/IsometricTiledMapRenderer.html#IsometricTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, float, com.badlogic.gdx.graphics.g2d.SpriteBatch)">IsometricTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
float
unitScale,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/IsometricTiledMapRenderer.html#IsometricTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, com.badlogic.gdx.graphics.g2d.SpriteBatch)">IsometricTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/OrthogonalTiledMapRenderer.html#OrthogonalTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, float, com.badlogic.gdx.graphics.g2d.SpriteBatch)">OrthogonalTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
float
unitScale,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/maps/tiled/renderers/OrthogonalTiledMapRenderer.html#OrthogonalTiledMapRenderer(com.badlogic.gdx.maps.tiled.TiledMap, com.badlogic.gdx.graphics.g2d.SpriteBatch)">OrthogonalTiledMapRenderer
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/maps/tiled/TiledMap.html" title="class in com.badlogic.gdx.maps.tiled">TiledMap
</a> map,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> spriteBatch)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.scenes.scene2d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a> that return
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></code></td>
<td class="colLast"><span class="strong">Stage.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Stage.html#getSpriteBatch()">getSpriteBatch
</a></strong>()
</code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#applyTransform(com.badlogic.gdx.graphics.g2d.SpriteBatch, com.badlogic.gdx.math.Matrix4)">applyTransform
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
<a href="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Set the SpriteBatch's transformation matrix, often with the result of
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#computeTransform()"><code>Group.computeTransform()
</code></a>.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Actor.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Actor.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">Draws the actor.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">Draws the group and its children.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#drawChildren(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">drawChildren
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">Draws all children.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#resetTransform(com.badlogic.gdx.graphics.g2d.SpriteBatch)">resetTransform
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch)
</code>
<div class="block">Restores the SpriteBatch transform to what it was before
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#applyTransform(com.badlogic.gdx.graphics.g2d.SpriteBatch, com.badlogic.gdx.math.Matrix4)"><code>Group.applyTransform(SpriteBatch, Matrix4)
</code></a>.
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Stage.html#Stage(float, float, boolean, com.badlogic.gdx.graphics.g2d.SpriteBatch)">Stage
</a></strong>(float
width,
float
height,
boolean
keepAspectRatio,
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch)
</code>
<div class="block">Creates a stage with the specified
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/Stage.html#setViewport(float, float, boolean)"><code>viewport
</code></a> and
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d"><code>SpriteBatch
</code></a>.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.scenes.scene2d.ui">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/package-summary.html">com.badlogic.gdx.scenes.scene2d.ui
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/package-summary.html">com.badlogic.gdx.scenes.scene2d.ui
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Button.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Button.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">CheckBox.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/CheckBox.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Image.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Image.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ImageButton.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/ImageButton.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ImageTextButton.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/ImageTextButton.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Label.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Label.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">List.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/List.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ScrollPane.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/ScrollPane.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SelectBox.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/SelectBox.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Slider.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Slider.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SplitPane.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/SplitPane.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Table.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Table.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">TextButton.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/TextButton.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">TextField.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/TextField.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Touchpad.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Touchpad.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Tree.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Tree.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Widget.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Widget.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">If this method is overridden, the super method or
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Widget.html#validate()"><code>Widget.validate()
</code></a> should be called to ensure the widget is laid out.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">WidgetGroup.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/WidgetGroup.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">If this method is overridden, the super method or
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/WidgetGroup.html#validate()"><code>WidgetGroup.validate()
</code></a> should be called to ensure the widget group is laid
out.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Window.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Window.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Button.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Button.html#drawBackground(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">drawBackground
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Table.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Table.html#drawBackground(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">drawBackground
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code>
<div class="block">Called to draw the background, before clipping is applied (if enabled).
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Window.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/ui/Window.html#drawBackground(com.badlogic.gdx.graphics.g2d.SpriteBatch, float)">drawBackground
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
parentAlpha)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.scenes.scene2d.utils">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/package-summary.html">com.badlogic.gdx.scenes.scene2d.utils
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/package-summary.html">com.badlogic.gdx.scenes.scene2d.utils
</a> with parameters of type
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">BaseDrawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/BaseDrawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Drawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/Drawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code>
<div class="block">Draws this drawable at the specified bounds.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">NinePatchDrawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/NinePatchDrawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SpriteDrawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/SpriteDrawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">TextureRegionDrawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/TextureRegionDrawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">TiledDrawable.
</span><code><strong><a href="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/TiledDrawable.html#draw(com.badlogic.gdx.graphics.g2d.SpriteBatch, float, float, float, float)">draw
</a></strong>(
<a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview
</a></li>
<li><a href="../package-summary.html">Package
</a></li>
<li><a href="../../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">Class
</a></li>
<li class="navBarCell1Rev">Use
</li>
<li><a href="../../../../../../overview-tree.html">Tree
</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>libgdx API
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev
</li>
<li>Next
</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?com/badlogic/gdx/graphics/g2d/class-use/SpriteBatch.html" target="_top">Frames
</a></li>
<li><a href="SpriteBatch.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
<div style="font-size:9pt"><i>
Copyright
© 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
</i></div>
</small></p>
</body>
</html>