Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.SetStrokeDashArray
Specify the pattern of dashes and gaps used to stroke paths.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 4.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "GMImage.SetStrokeDashArray"; ImageRef; Pattern ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| Pattern | The list of pattern numbers. can be separated by space or newline. | "5 3 2" |
Result
Returns OK or error.
Description
Specify the pattern of dashes and gaps used to stroke paths.The strokeDashArray represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. A typical strokeDashArray array might contain the members 5 3 2.
Examples
Set a pattern
MBS( "GMImage.SetStrokeDashArray"; $ImageRef; "5 3 2" )
See also
- GMImage.GetStrokeDashArray
- GMImage.GetStrokeDashOffset
- GMImage.SetStrokeAntiAlias
- GMImage.SetStrokeDashOffset
Blog Entries
Created 18th August 2014, last changed 18th August 2014
GMImage.SetStrokeColor - GMImage.SetStrokeDashOffset
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins