Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 423

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 422
401
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
stroke.dotSpace
Availability
Flash MX 2004.
Usage
stroke.dotSpace
Description
Property; an integer that specifies the spacing between dots in a dotted line. This property is available only if the
stroke.style property is set to dotted. See stroke.style.
Example
The following example sets the dotSpace property to 3 for a stroke style of dotted:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "dotted";
myStroke.dotSpace= 3;
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.hatchThickness
Availability
Flash MX 2004.
Usage
stroke.hatchThickness
Description
Property; a string that specifies the thickness of a hatch line. This property is available only if the stroke.style
property is set to
hatched (see stroke.style). Acceptable values are "hairline", "thin", "medium", and "thick".
Example
The following example sets the hatchThickness property to thin for a stroke style 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";
fl.getDocumentDOM().setCustomStroke(myStroke);
Zobrazit stránku 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 564 565

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

Žádné komentáře