Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 426

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 425
404
EXTENDING FLASH CS4 PROFESSIONAL
Stroke object
stroke.density
Availability
Flash MX 2004.
Usage
stroke.density
Description
Property; a string that specifies the density of a stippled line. This property is available only if the stroke.style
property is set to
stipple (see stroke.style). Acceptable values are "very dense", "dense", "sparse", and "very
sparse".
Example
The following example sets the density property to sparse for the stroke style of stipple:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.dotSize
Availability
Flash MX 2004.
Usage
stroke.dotSize
Description
Property; a string that specifies the dot size of a stippled line. This property is available only if the stroke.style
property is set to
stipple (see stroke.style). Acceptable values are "tiny", "small", "medium", and "large".
The following example sets the dotSize property to tiny for the stroke style of stipple:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.dotsize = "tiny";
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke(myStroke);
Przeglądanie stron 425
1 2 ... 421 422 423 424 425 426 427 428 429 430 431 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag