| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.SetDrawDirection
The function sets the draw direction of closed vector graphics such as rectangles, ellipses, triangles and so on.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 3.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetDrawDirection"; PDF; Direction ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Direction | Draw direction. Can be CounterClockwise or Clockwise. | "Clockwise" |
Result
Returns OK or error message.
Description
The function sets the draw direction of closed vector graphics such as rectangles, ellipses, triangles and so on.The draw direction is important if a path should be filled with the nonzero winding number rule or even-odd rule. Both modes are described in detail under ClipPath().
See also SetDrawDirection function in DynaPDF manual.
See also
- DynaPDF.ClosePath
- DynaPDF.DrawArcEx
- DynaPDF.DrawCircle
- DynaPDF.DrawPie
- DynaPDF.Ellipse
- DynaPDF.GetDrawDirection
- DynaPDF.New
- DynaPDF.RoundRect
- DynaPDF.RoundRectEx
- DynaPDF.Triangle
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014