Swiftgram/submodules/AsyncDisplayKit/docs/appledoc/Constants/ASCenterLayoutSpecCenteringOptions.html
Peter 9bc996374f Add 'submodules/AsyncDisplayKit/' from commit '02bedc12816e251ad71777f9d2578329b6d2bef6'
git-subtree-dir: submodules/AsyncDisplayKit
git-subtree-mainline: d06f423e0ed3df1fed9bd10d79ee312a9179b632
git-subtree-split: 02bedc12816e251ad71777f9d2578329b6d2bef6
2019-06-11 18:42:43 +01:00

213 lines
5.2 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ASCenterLayoutSpecCenteringOptions Constants Reference</title>
<link rel="stylesheet" href="../css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
<header>
<div class="container" class="hide-in-xcode">
<h1 id="library-title">
<a href="../index.html"> </a>
</h1>
<p id="developer-home">
<a href="../index.html">AsyncDisplayKit</a>
</p>
</div>
</header>
<aside>
<div class="container">
<nav>
<ul id="header-buttons" role="toolbar">
<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>
<li id="on-this-page" role="navigation">
<label>
On This Page
<div class="chevron">
<div class="chevy chevron-left"></div>
<div class="chevy chevron-right"></div>
</div>
<select id="jump-to">
<option value="top">Jump To&#133;</option>
</select>
</label>
</li>
</ul>
</nav>
</div>
</aside>
<article>
<div id="overview_contents" class="container">
<div id="content">
<main role="main">
<h1 class="title">ASCenterLayoutSpecCenteringOptions Constants Reference</h1>
<div class="section section-specification"><table cellspacing="0"><tbody>
<tr>
<th>Declared in</th>
<td>ASCenterLayoutSpec.h</td>
</tr>
</tbody></table></div>
<h3 class="subsubtitle method-title">ASCenterLayoutSpecCenteringOptions</h3>
<div class="section section-overview">
<p>How the child is centered within the spec.</p>
</div>
<div class="section">
<!-- display enum values -->
<h4 class="method-subtitle">Definition</h4>
<code>typedef NS_OPTIONS(NSUInteger, ASCenterLayoutSpecCenteringOptions ) {<br>
&nbsp;&nbsp; <a href="">ASCenterLayoutSpecCenteringNone</a> = 0,<br>
&nbsp;&nbsp; <a href="">ASCenterLayoutSpecCenteringX</a> = 1 &lt; &lt; 0,<br>
&nbsp;&nbsp; <a href="">ASCenterLayoutSpecCenteringY</a> = 1 &lt; &lt; 1,<br>
&nbsp;&nbsp; <a href="">ASCenterLayoutSpecCenteringXY</a> = ASCenterLayoutSpecCenteringX | ASCenterLayoutSpecCenteringY,<br>
};</code>
</div>
<div class="section section-methods">
<h4 class="method-subtitle">Constants</h4>
<dl class="termdef">
<dt><a name="" title="ASCenterLayoutSpecCenteringNone"></a><code>ASCenterLayoutSpecCenteringNone</code></dt>
<dd>
<p>The child is positioned in {0,0} relatively to the layout bounds</p>
<p>
Declared In <code class="declared-in-ref">ASCenterLayoutSpec.h</code>.
</p>
</dd>
<dt><a name="" title="ASCenterLayoutSpecCenteringX"></a><code>ASCenterLayoutSpecCenteringX</code></dt>
<dd>
<p>The child is centered along the X axis</p>
<p>
Declared In <code class="declared-in-ref">ASCenterLayoutSpec.h</code>.
</p>
</dd>
<dt><a name="" title="ASCenterLayoutSpecCenteringY"></a><code>ASCenterLayoutSpecCenteringY</code></dt>
<dd>
<p>The child is centered along the Y axis</p>
<p>
Declared In <code class="declared-in-ref">ASCenterLayoutSpec.h</code>.
</p>
</dd>
<dt><a name="" title="ASCenterLayoutSpecCenteringXY"></a><code>ASCenterLayoutSpecCenteringXY</code></dt>
<dd>
<p>Convenience option to center both along the X and Y axis</p>
<p>
Declared In <code class="declared-in-ref">ASCenterLayoutSpec.h</code>.
</p>
</dd>
</dl>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">ASCenterLayoutSpec.h</code></p>
</div>
</main>
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2016 AsyncDisplayKit. All rights reserved. Updated: 2016-11-05</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
</div>
</footer>
</div>
</div>
</article>
<script src="../js/script.js"></script>
</body>
</html>