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:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
DynaPDF.Ellipse
Draws an ellipse.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Paid |
MBS( "DynaPDF.Ellipse"; PDF; PosX; PosY; Width; Height; FillMode ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
PosX | X-Coordinate of the bounding rectangle | $x |
PosY | Y-Coordinate of the bounding rectangle. | $y |
Width | Width of the bounding rectangle. | 200 |
Height | Height of the bounding rectangle. | 150 |
FillMode | Fill mode. Can be FillNoClose, StrokeNoClose, FillStrokeNoClose, Fill, Stroke, FillStroke, FillEvOdd, FillStrokeEvOdd, FillEvOddNoClose, FillStrokeEvOddNoClose, NoFill or Close. | "fill" |
Result
Returns OK or error.
Description
Draws an ellipse.If the coordinate system is bottom-up the point PosX, PosY defines the lower left corner of the bounding rectangle. If the coordinate system is top-down it defines the upper left corner.
The draw direction can be changed with the function DynaPDF.SetDrawDirection.
An ellipse is a closed path that can be filled, stroked or both. It is also possible to draw an ellipse invisible to apply the filling rules nonzero winding number or even-odd. The filling rules are described under DynaPDF.ClipPath. The parameter FillMode is ignored if the ellipse is drawn inside a clipping path. The fill modes are described under DynaPDF.ClosePath.
See also Ellipse function in DynaPDF manual.
See also
- DynaPDF.Bezier123
- DynaPDF.ClipPath
- DynaPDF.ClosePath
- DynaPDF.New
- DynaPDF.Release
- DynaPDF.SetDrawDirection
Example Databases
Created 6th February 2015, last changed 6th February 2015
DynaPDF.EditTemplate2 - DynaPDF.EnableEncryption
Feedback: Report problem or ask question.
