pubtool4pixi
Version:
Usefultool for PIXI xes project
908 lines (174 loc) • 10.7 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: BigMath_GuideHand</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: BigMath_GuideHand</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>BigMath_GuideHand<span class="signature">()</span><span class="type-signature"></span></h2>
<div class="class-description">大数学通用引导手势</div>
</header>
<article>
<div class="container-overview">
<h2>Constructor</h2>
<h4 class="name" id="BigMath_GuideHand"><span class="type-signature"></span>new BigMath_GuideHand<span class="signature">()</span><span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>origin</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">拖拽引导手势起点 - 默认值:{x:500,y:960}</td>
</tr>
<tr>
<td class="name"><code>destination</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">拖拽引导手势终点 - 默认值:{x:1400,y:500}</td>
</tr>
<tr>
<td class="name"><code>isDrag</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="description last">是否是拖拽手势 - 默认值:true 【不可更改】</td>
</tr>
<tr>
<td class="name"><code>spineName</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last">手势动效名称 - 默认值:"animation_hand_guide"</td>
</tr>
<tr>
<td class="name"><code>clickAniName</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last">点击手势动画名称 - 默认值:"zhiyin"</td>
</tr>
<tr>
<td class="name"><code>dragAniName1</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last">拖拽手势开始动画名称 - 默认值:"start"</td>
</tr>
<tr>
<td class="name"><code>dragAniName2</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last">拖拽手势结束动画名称 - 默认值:"end"</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1495">line 1495</a>
</li></ul></dd>
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>import {Easy} from "pubtool4pixi"
Easy.create("BigMath_GuideHand",{
origin : {
x : 500,
y : 960
},
}).show();</code></pre>
</div>
<h3 class="subsection-title">Extends</h3>
<ul>
<li><a href="BaseContainer.html">BaseContainer</a></li>
</ul>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id=".Click"><span class="type-signature">(static) </span>Click<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
点击手势动画
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1542">line 1542</a>
</li></ul></dd>
</dl>
<h4 class="name" id=".deleteHand"><span class="type-signature">(static) </span>deleteHand<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
清空拖拽手势动效,暂停移动的TweenMax
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1598">line 1598</a>
</li></ul></dd>
</dl>
<h4 class="name" id=".End"><span class="type-signature">(static) </span>End<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
拖拽手势动画结束
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1585">line 1585</a>
</li></ul></dd>
</dl>
<h4 class="name" id=".init"><span class="type-signature">(static) </span>init<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
初始创建手势动效
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1531">line 1531</a>
</li></ul></dd>
</dl>
<h4 class="name" id=".Move"><span class="type-signature">(static) </span>Move<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
拖拽手势动画移动
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1565">line 1565</a>
</li></ul></dd>
</dl>
<h4 class="name" id=".Start"><span class="type-signature">(static) </span>Start<span class="signature">()</span><span class="type-signature"></span></h4>
<div class="description">
拖拽手势动画开始
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line1551">line 1551</a>
</li></ul></dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Base.html">Base</a></li><li><a href="BaseContainer.html">BaseContainer</a></li><li><a href="BigMath_AniBtn.html">BigMath_AniBtn</a></li><li><a href="BigMath_GuideHand.html">BigMath_GuideHand</a></li><li><a href="BigMath_StarScoreBoard.html">BigMath_StarScoreBoard</a></li><li><a href="BigMath_Timer.html">BigMath_Timer</a></li><li><a href="HitContainer.html">HitContainer</a></li><li><a href="Preschool_aqiu.html">Preschool_aqiu</a></li><li><a href="Preschool_End.html">Preschool_End</a></li><li><a href="Preschool_HintBtn.html">Preschool_HintBtn</a></li><li><a href="Preschool_Start.html">Preschool_Start</a></li><li><a href="PUB_Mask.html">PUB_Mask</a></li></ul><h3>Events</h3><ul><li><a href="BaseContainer.html#.event:beforeHide">beforeHide</a></li><li><a href="BaseContainer.html#.event:beforeShow">beforeShow</a></li><li><a href="BaseContainer.html#.event:Destroyed">Destroyed</a></li><li><a href="BaseContainer.html#.event:onHide">onHide</a></li><li><a href="BaseContainer.html#.event:onShow">onShow</a></li><li><a href="BaseContainer.html#.event:ParentChange">ParentChange</a></li><li><a href="BigMath_AniBtn.html#.event:onClick">onClick</a></li><li><a href="BigMath_Timer.html#.event:onTimeRun">onTimeRun</a></li><li><a href="BigMath_Timer.html#.event:timeup">timeup</a></li><li><a href="Preschool_End.html#.event:gameOver">gameOver</a></li><li><a href="Preschool_Start.html#.event:startGame">startGame</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Dec 18 2019 14:22:09 GMT+0800 (中国标准时间)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>