Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3 classes/View.DisplaySprite.html
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ <h3>Parameters:</h3>
<h3>Returns:</h3>
<ol>

<span class="types"><span class="type">DisplayAnchors</span></span>
<span class="types"><a class="type" href="../4 primitive classes/View.DisplayAnchors.html#">DisplayAnchors</a></span>
An object containing the anchor points of the display sprite.<br>
The object contains the following fields:<br>
- <code>TOP_LEFT</code><br>
Expand Down
5 changes: 3 additions & 2 deletions 4 primitive classes/View.DisplayAnchors.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ <h2 class="section-header "><a name="Functions"></a>Functions</h2>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">This</span>
<span class="types"><span class="type">DisplayAnchors</span></span>
<span class="types"><a class="type" href="../4 primitive classes/View.DisplayAnchors.html#">DisplayAnchors</a></span>
DisplayAnchors.
</li>
</ul>
Expand All @@ -362,7 +362,8 @@ <h3>Returns:</h3>

<h3>Usage:</h3>
<ul>
<pre class="example"><span class="keyword">local</span> anchors = TEN.View.DisplayAnchors()
<pre class="example"><span class="comment">-- Generate generic anchors object with default values.
</span><span class="keyword">local</span> anchors = TEN.View.DisplayAnchors()
<span class="global">print</span>(<span class="global">tostring</span>(anchors))
<span class="comment">-- or --
</span><span class="global">print</span>(anchors)
Expand Down