Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 429

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 428
407
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
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:
Przeglądanie stron 428
1 2 ... 424 425 426 427 428 429 430 431 432 433 434 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag