Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.DrawCircle

This function draws a circle.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.DrawCircle"; PDF; PosX; PosY; Radius; FillMode )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
PosX X-Coordinate of the midpoint of the pie. $x
PosY Y-Coordinate of the midpoint of the pie. $y
Radius The radius to use. $radius
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

This function draws a circle.
The draw direction can be changed with the function DynaPDF.SetDrawDirection.
A circle is a closed path that can be filled, stroked or both. It is also possible to draw a circle 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 circle is drawn inside a clipping path. The fill modes are described under DynaPDF.ClosePath.

See also DrawCircle function in DynaPDF manual.

See also

Example Databases


DynaPDF.DrawChord   -   DynaPDF.DrawPie

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins