Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 199

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 198
177
EXTENDING FLASH CS4 PROFESSIONAL
drawingLayer object
Example
The following example exits drawing mode:
fl.drawingLayer.endDraw();
drawingLayer.endFrame()
Availability
Flash MX 2004.
Usage
drawingLayer.endFrame()
Parameters
None.
Returns
Nothing.
Description
Method; signals the end of a group of drawing commands. A group of drawing commands refers to everything drawn
between
drawingLayer.beginFrame() and drawingLayer.endFrame(). The next call to
drawingLayer.beginFrame() will erase whatever was drawn in this group of drawing commands. You typically use
this method only when creating extensible tools.
drawingLayer.lineTo()
Availability
Flash MX 2004.
Usage
drawingLayer.lineTo(x, y)
Parameters
x A floating-point value that is the x coordinate of the end point of the line to draw.
y A floating-point value that is the y coordinate of the end point of the line to draw.
Returns
Nothing.
Description
Method; draws a line from the current drawing position to the point (x,y). You typically use this method only when
creating extensible tools.
Zobrazit stránku 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 559 560

Komentáře k této Příručce

Žádné komentáře