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

DynaPDF.Rectangle

This function draws a rectangle.

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

MBS( "DynaPDF.Rectangle"; PDF; PosX; PosY; Width; Height; 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
FillMode Fill mode. Can be FillNoClose, StrokeNoClose, FillStrokeNoClose, Fill, Stroke, FillStroke, FillEvOdd, FillStrokeEvOdd, FillEvOddNoClose, FillStrokeEvOddNoClose, NoFill or Close. "fill"

Result

Returns OK or error message.

Description

This function draws a rectangle.

Examples

Fills a rectangle:

MBS( "DynaPDF.Rectangle"; $PDF; 100; 200; 200; 200; "fill" )

Draws a rectangle:

MBS( "DynaPDF.Rectangle"; $PDF; 100; 200; 200; 200; "stroke" )

See also


DynaPDF.ReadImageResolution   -   DynaPDF.Release

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Förderverein St. Arnulf Nickenich