Adobe Extending Flash Professional CS5 Manuale Utente Pagina 426

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 425
404
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
Usage
stroke.pattern
Description
Property; a string that specifies the pattern of a ragged line. This property is available only if the stroke.style
property is set to
ragged (see stroke.style). Acceptable values are "solid", "simple", "random", "dotted",
"random dotted", "triple dotted", and "random triple dotted".
Example
The following example sets the pattern property to random for a stroke style of ragged:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
myStroke.pattern = "random";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.rotate
Availability
Flash MX 2004.
Usage
stroke.rotate
Description
Property; a string that specifies the rotation of a hatch line. This property is available only if the stroke.style
property is set to
hatched (see stroke.style). Acceptable values are "none", "slight", "medium", and "free".
Example
The following example sets the rotate property to free for a style stroke of hatched:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "hatched";
myStroke.curve = "straight";
myStroke.space = "close";
myStroke.jiggle = "wild";
myStroke.rotate = "free";
myStroke.length = "slight";
myStroke.hatchThickness = "thin";
stroke.scaleType
Availability
Flash 8.
Usage
stroke.scaleType
Vedere la pagina 425
1 2 ... 421 422 423 424 425 426 427 428 429 430 431 ... 564 565

Commenti su questo manuale

Nessun commento