Skip to content

Commit d29a1b2

Browse files
committed
Compiled documentation update
1 parent 13c8203 commit d29a1b2

File tree

26 files changed

+3211
-647
lines changed

26 files changed

+3211
-647
lines changed

docs/CanvasResizeHandler/index.html

+69-10
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Scenes - CanvasResizeHandler</title>
7-
<base href="/Scenes/"/>
8-
<link rel="stylesheet" type="text/css" href="all.css" media="all" />
7+
<link rel="stylesheet" type="text/css" href="/Scenes/all.css" media="all" />
98
</head>
109
<body>
1110
<header>
@@ -27,7 +26,7 @@
2726
<nav>
2827
<div class="wrapper">
2928
<h2>On This Page</h2>
30-
<ol><li><a href="#relationships">Relationships</a><ul><li><a href="#relationships">Conforms To</a></li></ul></li><li><a href="#requirements">Requirements</a><ul><li><a href="#canvasresizehandler.oncanvasresize(size:)">on​Canvas​Resize(size:​)</a></li></ul></li></ol>
29+
<ol><li><a href="#relationships">Relationships</a><ul><li><a href="#relationships">Conforms To</a></li></ul></li><li><a href="#requirements">Requirements</a><ul><li class="function"><a href="#canvasresizehandler.oncanvasresize(size:)">on​Canvas​Resize(size:​)</a></li></ul></li></ol>
3130
</div>
3231
</nav>
3332

@@ -38,14 +37,72 @@ <h1>
3837
<code class="name">Canvas​Resize​Handler</code>
3938
</h1>
4039

41-
<html><body><pre class="highlight"><code><span class="keyword">public</span> <span class="keyword">protocol</span> <span class="type">CanvasResizeHandler</span>: <a href="EventHandler"><span class="type">EventHandler</span></a></code></pre></body></html>
40+
<div class="declaration">
41+
<pre class="highlight"><code><span class="keyword">public</span> <span class="keyword">protocol</span> <span class="type">CanvasResizeHandler</span> : <span class="type">EventHandler</span> </code></pre>
42+
</div>
43+
<div class="summary" role="doc-abstract">
44+
<p>A type conforming to <code>CanvasResizeHandler</code> is capable of receiving
45+
canvas resize events through the <em>onCanvasResize</em> method.</p>
46+
47+
</div>
48+
<div class="discussion">
49+
<p>Before receiving events, it must be registered with the dispatcher
50+
via the <em>registerCanvasResizeHandler</em> method.
51+
Similarly, it should be unregistered before deinitialization
52+
via the <em>unregisterCanvasResizeHandler</em> method available through
53+
the dispatcher.</p>
54+
55+
</div>
4256
<section id="relationships">
4357
<h2 hidden>Relationships</h2>
44-
58+
<figure>
59+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
60+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
61+
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
62+
<!-- Generated by graphviz version 2.43.0 (0)
63+
-->
64+
<!-- Title: %9 Pages: 1 -->
65+
<svg width="872pt" height="116pt"
66+
viewBox="0.00 0.00 872.00 116.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
67+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 112)">
68+
<title>%9</title>
69+
<polygon fill="white" stroke="transparent" points="-4,4 -4,-112 868,-112 868,4 -4,4"/>
70+
<!-- CanvasResizeHandler -->
71+
<g id="node1" class="node protocol current">
72+
<title>CanvasResizeHandler</title>
73+
<g id="a_node1"><a xlink:href="/Scenes/CanvasResizeHandler" xlink:title="CanvasResizeHandler">
74+
<path fill="none" stroke="black" stroke-width="3" d="M528,-108C528,-108 336,-108 336,-108 330,-108 324,-102 324,-96 324,-96 324,-84 324,-84 324,-78 330,-72 336,-72 336,-72 528,-72 528,-72 534,-72 540,-78 540,-84 540,-84 540,-96 540,-96 540,-102 534,-108 528,-108"/>
75+
<text text-anchor="middle" x="432" y="-86.3" font-family="Menlo" font-size="14.00">CanvasResizeHandler</text>
76+
</a>
77+
</g>
78+
</g>
79+
<!-- EventHandler -->
80+
<g id="node2" class="node protocol">
81+
<title>EventHandler</title>
82+
<g id="a_node2"><a xlink:href="/Scenes/EventHandler" xlink:title="EventHandler">
83+
<path fill="none" stroke="black" d="M528,-36C528,-36 336,-36 336,-36 330,-36 324,-30 324,-24 324,-24 324,-12 324,-12 324,-6 330,0 336,0 336,0 528,0 528,0 534,0 540,-6 540,-12 540,-12 540,-24 540,-24 540,-30 534,-36 528,-36"/>
84+
<text text-anchor="middle" x="432" y="-14.3" font-family="Menlo" font-size="14.00">EventHandler</text>
85+
</a>
86+
</g>
87+
</g>
88+
<!-- CanvasResizeHandler&#45;&gt;EventHandler -->
89+
<g id="edge1" class="edge conformsTo">
90+
<title>CanvasResizeHandler&#45;&gt;EventHandler</title>
91+
<path fill="none" stroke="black" d="M432,-71.7C432,-63.98 432,-54.71 432,-46.11"/>
92+
<polygon fill="black" stroke="black" points="435.5,-46.1 432,-36.1 428.5,-46.1 435.5,-46.1"/>
93+
</g>
94+
</g>
95+
</svg>
96+
97+
98+
<figcaption hidden>Inheritance graph for CanvasResizeHandler.</figcaption>
99+
</figure>
45100
<h3>Conforms To</h3>
46101
<dl>
47-
<dt class="protocol"><code><a href="EventHandler">EventHandler</a></code></dt>
48-
<dd></dd>
102+
<dt class="protocol"><code><a href="/Scenes/EventHandler">EventHandler</a></code></dt>
103+
<dd><p>An <code>Eventhandler</code> is a type capable of being registered with the
104+
<code>Dispatcher</code> to receive events of a certain type.</p>
105+
</dd>
49106
</dl>
50107
</section>
51108

@@ -54,19 +111,21 @@ <h3>Conforms To</h3>
54111
<section id="requirements">
55112
<h2>Requirements</h2>
56113

57-
<div role="article" class="protocol" id="canvasresizehandler.oncanvasresize(size:)">
114+
<div role="article" class="function" id="canvasresizehandler.oncanvasresize(size:)">
58115
<h3>
59116
<code>on​Canvas​Resize(size:​)</code>
60117
</h3>
61-
<html><body><pre class="highlight"><code><span class="keyword">func</span> <span class="function">onCanvasResize</span>(<span class="variable">size</span>: <span class="type">Size</span>)</code></pre></body></html>
118+
<div class="declaration">
119+
<pre class="highlight"><code><span class="keyword">func</span> <span class="function">onCanvasResize</span>(<span class="variable">size</span>:<span class="type">Size</span>)</code></pre>
120+
</div>
62121
</div>
63122
</section>
64123
</article>
65124
</main>
66125

67126
<footer>
68127
<p>
69-
Generated on <time datetime="2020-05-01T17:29:39-0500">May 1, 2020</time> using <a href="https://github.com/SwiftDocOrg/swift-doc">swift-doc</a> <span class="version">1.0.0-beta.2</span>.
128+
Generated on <time datetime="2021-04-25T15:45:06-0500">April 25, 2021</time> using <a href="https://github.com/SwiftDocOrg/swift-doc">swift-doc</a> <span class="version">1.0.0-beta.6</span>.
70129
</p>
71130
</footer>
72131
</body>

0 commit comments

Comments
 (0)