Adobe Extending Flash Professional CS4 Manuale Utente Pagina 203

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 202
181
Chapter 13: Edge object
Availability
Flash MX 2004.
Description
The Edge object represents an edge of a shape on the Stage.
Method summary
The following methods are available for the Edge object:
Property summary
The following properties are available for the Edge object:
edge.cubicSegmentIndex
Availability
Flash CS4 Professional.
Usage
edge.cubicSegmentIndex
Description
Read-only property; an integer that specifies the index value of a cubic segment of the edge (see
shape.getCubicSegmentPoints()).
Example
The following code displays the index values of all the cubic segments of the specified edge:
Method Description
edge.getControl() Gets a point object set to the location of the specified control point of the edge.
edge.getHalfEdge() Returns a HalfEdge object.
edge.setControl() Sets the position of the control point of the edge.
edge.splitEdge() Splits the edge into two pieces.
Property Description
edge.cubicSegmentIndex An integer that specifies the index value of a cubic segment of the edge.
edge.id Read-only; an integer that represents a unique identifier for the edge.
edge.isLine Read-only; an integer with a value of 0 or 1.
edge.stroke A Stroke object.
Vedere la pagina 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 559 560

Commenti su questo manuale

Nessun commento