<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />
<title>CasualJS Framework Reference - DisplayObject</title>
<style type="text/css">
/* default.css */
body
{
font: 12px Tahoma, Arial, sans-serif;
margin: 0;
padding: 0;
}
#header
{
clear: both;
background: #fff;
height: 0px;
margin-bottom: 0px;
}
h1
{
font-size: 150%;
font-weight: bold;
padding: 0;
}
hr
{
border: none 0;
border-top: 1px solid #7F8FB1;
height: 1px;
}
pre.code
{
display: block;
padding: 8px;
border: 1px dashed #ccc;
}
#index
{
float: left;
width: 180px;
position: absolute;
left: 8px;
background-color: #F3F3F3;
padding: 8px;
}
#content
{
margin: 0 8px 0 220px;
}
.classList
{
list-style-type: none;
padding: 0;
margin: 0 0 0 8px;
font-family: arial, sans-serif;
font-size: 1em;
overflow: auto;
}
.classList li
{
padding: 0;
margin: 0 0 8px 0;
}
.summaryTable { width: 100%; }
h1.classTitle
{
font-size:170%;
line-height:130%;
}
h2 { font-size: 110%; }
caption, div.sectionTitle
{
background-color: #627C9D;
color: #fff;
font-size:130%;
text-align: left;
padding: 2px 6px 2px 6px;
border: 1px #627C9D solid;
}
div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }
.summaryTable td
{
vertical-align: top;
padding: 4px;
border-bottom: 1px #7F8FB1 solid;
border-right: 1px #7F8FB1 solid;
}
/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
border-left: 1px #7F8FB1 solid;
width: 140px;
text-align: right;
}
td.attributes, .fixedFont
{
line-height: 15px;
color: #002EBE;
font-family: "Courier New",Courier,monospace;
font-size: 13px;
}
.summaryTable td.nameDescription
{
text-align: left;
font-size: 13px;
line-height: 15px;
}
.summaryTable td.nameDescription, .description
{
line-height: 15px;
padding: 4px;
padding-left: 4px;
}
.summaryTable { margin-bottom: 8px; }
ul.inheritsList
{
list-style: square;
margin-left: 20px;
padding-left: 0;
}
.detailList {
margin-left: 20px;
line-height: 15px;
}
.detailList dt { margin-left: 20px; }
.detailList .heading
{
font-weight: bold;
padding-bottom: 6px;
margin-left: 0;
}
.light, td.attributes, .light a:link, .light a:visited
{
color: #777;
font-style: italic;
}
.fineprint
{
margin-top: 20px;
margin-bottom: 5px;
text-align: center;
font-size: 10px;
}
</style>
</head>
<body>
<!-- ============================== header ================================= -->
<!-- begin static/header.html -->
<div id="header">
</div>
<!-- end static/header.html -->
<!-- ============================== classes index ============================ -->
<div id="index">
<!-- begin publish.classesIndex -->
<div align="center"><a href="../index.html">Class Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
<li></li>
<li><a href="../symbols/Bitmap.html">Bitmap</a></li>
<li><a href="../symbols/Button.html">Button</a></li>
<li><a href="../symbols/casual.html">casual</a></li>
<li><a href="../symbols/Color.html">Color</a></li>
<li><a href="../symbols/DisplayObject.html">DisplayObject</a></li>
<li><a href="../symbols/DisplayObjectContainer.html">DisplayObjectContainer</a></li>
<li><a href="../symbols/EventBase.html">EventBase</a></li>
<li><a href="../symbols/EventDispatcher.html">EventDispatcher</a></li>
<li><a href="../symbols/Frame.html">Frame</a></li>
<li><a href="../symbols/Graphics.html">Graphics</a></li>
<li><a href="../symbols/Matrix.html">Matrix</a></li>
<li><a href="../symbols/MovieClip.html">MovieClip</a></li>
<li><a href="../symbols/NameUtil.html">NameUtil</a></li>
<li><a href="../symbols/Point.html">Point</a></li>
<li><a href="../symbols/Shape.html">Shape</a></li>
<li><a href="../symbols/Sprite.html">Sprite</a></li>
<li><a href="../symbols/Stage.html">Stage</a></li>
<li><a href="../symbols/StageEvent.html">StageEvent</a></li>
<li><a href="../symbols/Text.html">Text</a></li>
</ul>
<hr />
<!-- end publish.classesIndex -->
</div>
<div id="content">
<!-- ============================== class title ============================ -->
<h1 class="classTitle">
Class DisplayObject
</h1>
<!-- ============================== class summary ========================== -->
<p class="description">
Extends
<a href="../symbols/EventDispatcher.html">EventDispatcher</a>.<br />
The DisplayObject class is the base class for all objects that can be placed on the canvas.<br>DisplayObject is an abstract base class, therefore, you cannot call DisplayObject directly.<br>All display objects should inherit from the DisplayObject class, and implement the render() method.
</p>
<!-- ============================== constructor summary ==================== -->
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class DisplayObject.">
<caption>Class Summary</caption>
<thead>
<tr>
<th scope="col">Constructor Attributes</th>
<th scope="col">Constructor Name and Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="attributes"> </td>
<td class="nameDescription" >
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#constructor">DisplayObject</a></b>()
</div>
<div class="description">Constructor.</div>
</td>
</tr>
</tbody>
</table>
<!-- ============================== properties summary ===================== -->
<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class DisplayObject.">
<caption>Field Summary</caption>
<thead>
<tr>
<th scope="col">Field Attributes</th>
<th scope="col">Field Name and Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#alpha">alpha</a></b>
</div>
<div class="description">Indicates the alpha transparency value of the object specified.</div>
</td>
</tr>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#height">height</a></b>
</div>
<div class="description">Indicates the height of the display object, in pixels.</div>
</td>
</tr>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#id">id</a></b>
</div>
<div class="description">Indicates the instance id of the DisplayObject.</div>
</td>
</tr>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#mouseEnabled">mouseEnabled</a></b>
</div>
<div class="description">Specifies whether this object receives mouse messages.</div>
</td>
</tr>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#name">name</a></b>
</div>
<div class="description">Indicates the instance name of the DisplayObject.</div>
</td>
</tr>
<tr>
<td class="attributes"> </td>
<td class="nameDescription">
<div class="fixedFont">
<b><a href="../symbols/DisplayObject.html#parent">parent</a></b>
</div>
没有合适的资源?快使用搜索试试~ 我知道了~
CasualJS Framework
共67个文件
html:26个
js:25个
png:6个
需积分: 9 6 下载量 95 浏览量
2011-12-02
21:40:50
上传
评论
收藏 223KB ZIP 举报
温馨提示
CasualJS Framework是根据ActionScript3.0的架构开发的一套适用于HTML5 Canvas的面向对象的开发框架。目的是让你无缝的从AS3开发过渡到HTML5 Canvas开发。虽然Canvas提供了强大的绘图功能,但满足不了高级开发的需要。利用CasualJS的显示对象架构及渲染机制,你可以轻松的在Canvas中操控各种位图、图形、影片剪辑等显示对象,就如同在用AS3开发一样愉快。
资源推荐
资源详情
资源评论
收起资源包目录
casualjs-0.1.src.zip (67个子文件)
doc_template
allclasses.tmpl 310B
class.tmpl 21KB
allfiles.tmpl 2KB
static
index.html 673B
default.css 2KB
header.html 24B
index.tmpl 1KB
symbol.tmpl 1KB
publish.js 6KB
casual-0.1.3.min.js 27KB
js
casual-0.1.min.js 24KB
casual.bat 607B
src
core
base.js 4KB
casual.js 2KB
display
DisplayObjectContainer.js 7KB
Frame.js 2KB
Shape.js 2KB
MovieClip.js 6KB
Button.js 7KB
DisplayObject.js 9KB
Bitmap.js 3KB
Sprite.js 2KB
Stage.js 7KB
Graphics.js 8KB
Text.js 3KB
geom
Point.js 2KB
Matrix.js 5KB
event
EventDispatcher.js 3KB
EventManager.js 5KB
EventBase.js 3KB
StageEvent.js 3KB
utils
NameUtil.js 3KB
Astar.js 5KB
Color.js 3KB
doc
index.html 7KB
symbols
EventBase.html 12KB
Text.html 14KB
EventDispatcher.html 12KB
NameUtil.html 10KB
casual.html 12KB
Sprite.html 11KB
Color.html 11KB
Frame.html 11KB
Graphics.html 22KB
Bitmap.html 12KB
Point.html 10KB
Stage.html 23KB
DisplayObject.html 28KB
Shape.html 10KB
Button.html 26KB
MovieClip.html 20KB
StageEvent.html 14KB
Matrix.html 19KB
DisplayObjectContainer.html 24KB
examples
css
style.css 1KB
images
bg2.png 705B
bg3.png 3KB
logo.png 18KB
char1.png 12KB
char2.png 11KB
buttons.png 43KB
bg1.jpg 4KB
Graphics.html 5KB
DisplayObject.html 5KB
Button.html 5KB
MovieClip.html 9KB
doc.bat 272B
共 67 条
- 1
资源评论
gyp8735abc
- 粉丝: 9
- 资源: 77
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功