Breadcrumbs

RoundedRect

Draws a round rectangle. The round rectangle can optionally be provided with a frame and a background.

Syntax

  Func_FbMnFPDF_RoundedRect.bmp

C++
METHOD PUBLIC RoundedRect : BOOL
VAR_INPUT
    x1 : REAL;
    y1 : REAL;
    w1 : REAL;
    h1 : REAL;
    radius : REAL;
    style : STRING := '';
END_VAR

Parameters

Parameter

Description

x1 

Horizontal position (X-axis) of the left/upper corner of the rectangle to be drawn. 

y1 

Vertical position (Y-axis) of the left/upper corner of the rectangle to be drawn.  

w1 

width of the rectangle to be drawn. 

h1 

Height of the rectangle to be drawn. 

radius 

Radius of the corners. 

style 

Style in which the rectangle is to be drawn. Possible values are::

  • No specification or D: Draw frame only

  • F: Draw filled without frame

  • FD: Fill in and draw with frame

Return value 

Status of the call. 


Example



Requirements



Remarks