Adobe Extending Flash Professional CS4 Manual do Utilizador Página 433

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 432
411
EXTENDING FLASH CS4 PROFESSIONAL
Stroke object
If value is "hatched", there are six additional properties: hatchThickness, space, jiggle, rotate, curve, and
length.
Example
The following example sets the stroke style to ragged:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.thickness
Availability
Flash MX 2004.
Usage
stroke.thickness
Description
Property; an integer that specifies the stroke size.
Example
The following example sets the thickness property of the stroke to a value of 2:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.thickness = 2;
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.variation
Availability
Flash MX 2004.
Usage
stroke.variation
Description
Property; a string that specifies the variation of a stippled line. This property is available only if the stroke.style
property is set to
stipple (see stroke.style). Acceptable values are "one size", "small variation", "varied
sizes", and "random sizes".
Example
The following example sets the variation property to random sizes for a stroke style of stipple:
Vista de página 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 559 560

Comentários a estes Manuais

Sem comentários