官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Define the Events constructor."

A block of code is set as follows:

var Events = function(canvasId){
    this.canvas = document.getElementById(canvasId);
    this.context = this.canvas.getContext("2d");
    this.stage = undefined;
    this.listening = false;
};

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

var Events = function(canvasId){
 this.canvas = document.getElementById(canvasId);
 this.context = this.canvas.getContext("2d");
    this.stage = undefined;
    this.listening = false;
};

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "It writes out the text Hello Logo! at the origin."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 泸西县| 嘉祥县| 施秉县| 花垣县| 高州市| 广东省| 辽宁省| 阿勒泰市| 吴忠市| 九龙县| 闻喜县| 新龙县| 察哈| 老河口市| 桐庐县| 鸡泽县| 天门市| 潮州市| 武强县| 郴州市| 门源| 富裕县| 万山特区| 盱眙县| 黄石市| 广昌县| 麻江县| 黄平县| 永平县| 梁河县| 柳州市| 曲靖市| 凭祥市| 绵竹市| 得荣县| 保靖县| 信丰县| 淮安市| 特克斯县| 稷山县| 马关县|