Adobe Extending Flash Professional CS4 Manual de usuario Pagina 74

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 560
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 73
52
Chapter 10: Contour object
Availability
Flash MX 2004.
Description
A Contour object represents a closed path of half edges on the boundary of a shape.
Method summary
You can use the following method with the Contour object:
Property summary
You can use the following properties with the Contour object:
contour.fill
Availability
Flash CS4 Professional.
Usage
contour.fill
Description
Property; a Fill object.
Example
Assuming that you have a contour with a fill selected, the following example displays the contour’s fill color in the
Output panel:
var insideContour = fl.getDocumentDOM().selection[0].contours[1];
var insideFill = insideContour.fill;
fl.trace(insideFill.color);
Method Description
contour.getHalfEdge() Returns a HalfEdge object on the contour of the selection.
Property Description
contour.fill A Fill object.
contour.interior Read-only; the value is true if the contour encloses an area; false otherwise.
contour.orientation Read-only; an integer indicating the orientation of the contour.
Vista de pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 559 560

Comentarios a estos manuales

Sin comentarios