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
DynaPDF.DrawArc
This function draws an arc by using a start and end angle.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.DrawArc"; PDF; PosX; PosY; Radius; StartAngle; EndAngle ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| PosX | X-Coordinate of the midpoint of the arc | $x |
| PosY | Y-Coordinate of the midpoint of the arc | $y |
| Radius | Radius of the arc. | 50 |
| StartAngle | Start Angle. | $StartAngle |
| EndAngle | End Angle. | $EndAngle |
Result
Returns OK or error.
Description
This function draws an arc by using a start and end angle.A full circle is drawn if the start and end angles are the same. The path is not closed, stroked or filled so that it will be invisible as long it is not stroked, filled or both (see DynaPDF.ClosePath, DynaPDF.StokePath for further information).
The current point is connected with the start point of the arc and then updated to end point of the arc, see example below.
The draw direction can be changed with the function DynaPDF.SetDrawDirection. The start and end angles are always measured counter clockwise independent of the drawing direction.
See also DrawArc function in DynaPDF manual.
See also
- DynaPDF.Bezier123
- DynaPDF.ClosePath
- DynaPDF.DrawArcEx
- DynaPDF.DrawChord
- DynaPDF.DrawCircle
- DynaPDF.DrawNGon
- DynaPDF.DrawPie
- DynaPDF.New
- DynaPDF.SetDrawDirection
Blog Entries
Created 18th August 2014, last changed 18th August 2014
DynaPDF.DeleteXFAForm - DynaPDF.DrawArcEx
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins