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

  • 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 418
397
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
stroke.breakAtCorners
Availability
Flash MX 2004. Deprecated in Flash CS3 in favor of stroke.joinType.
Usage
stroke.breakAtCorners
Description
Property; a Boolean value. This property is the same as the Sharp Corners setting in the custom Stroke Style dialog box.
Example
The following example sets the breakAtCorners property to true:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.breakAtCorners = true;
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.capType
Availability
Flash 8.
Usage
stroke.capType
Description
Property; a string that specifies the type of cap for the stroke. Acceptable values are "none", "round", and "square".
Example
The following example sets the stroke cap type to round:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.capType = "round";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.strokeHinting A Boolean value that specifies whether stroke hinting is set on the stroke.
stroke.style A string that describes the stroke style.
stroke.thickness An integer that specifies the stroke size.
stroke.variation A string that specifies the variation of a stippled line.
stroke.waveHeight A string that specifies the wave height of a ragged line.
stroke.waveLength A string that specifies the wave length of a ragged line.
Property Description
Zobrazit stránku 418
1 2 ... 414 415 416 417 418 419 420 421 422 423 424 ... 564 565

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

Žádné komentáře