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

DynaPDF.RoundRectEx

The function draws a rectangle with elliptical corners.

Component: DynaPDF
Version: 3.1
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "DynaPDF.RoundRectEx"; PDF; PosX; PosY; Width; Height; RadiusWidth; RadiusHeight; FillMode )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
PosX X-Coordinate of rectangle $x
PosY Y-Coordinate of rectangle $y
Width Width of the rectangle $w
Height Height of the rectangle $h
RadiusWidth The radius for width. 20
RadiusHeight The radius for height. 30
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

The function draws a rectangle with elliptical corners.
The parameter RadiusWidth must not be greater than the half width of the rectangle and the parameter RadiusHeight must not be greater than the half height of the rectangle.
If the coordinate system is bottom-up the point PosX, PosY defines the lower left corner of the 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.
A rectangle is a closed path that can be filled, stroked or both. It is also possible to draw a rectangle 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 rectangle is drawn inside a clipping path. The fill modes are described under DynaPDF.ClosePath.

See also


DynaPDF.RoundRect   -   DynaPDF.Save

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Pfarrgemeinde St. Arnulf Nickenich