Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 177

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 176
155
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.setStrokeSize()
Availability
Flash MX 2004.
Usage
document.setStrokeSize(size)
Parameters
size A floating-point value from 0.25 to 10 that specifies the stroke size. The method ignores precision greater than
two decimal places.
Returns
Nothing.
Description
Method; changes the stroke size of the selection to the specified size. For information on changing the stroke in the
Tools panel and Property inspector, see
document.setCustomStroke().
Example
The following example changes the stroke size for the selection to 5:
fl.getDocumentDOM().setStrokeSize(5);
document.setStrokeStyle()
Availability
Flash MX 2004.
Usage
document.setStrokeStyle(strokeType)
Parameters
strokeType A string that specifies the stroke style for the current selection. Acceptable values are "hairline",
"solid","dashed", "dotted", "ragged", "stipple", and "hatched".
Returns
Nothing.
Description
Method; changes the stroke style of the selection to the specified style. For information on changing the stroke in the
Tools panel and Property inspector, see
document.setCustomStroke().
Example
The following example changes the stroke style for the selection to "dashed":
fl.getDocumentDOM().setStrokeStyle("dashed");
Seitenansicht 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare