TCPDF::RoundedRectXY( $x,  $y,  $w,  $h,  $rx,  $ry,  $round_corner = '1111',  $style = '',  $border_style = array(),  $fill_color = array() )

Draws a rounded rectangle.


Description Description


Parameters Parameters

$x

(Required) (float) Abscissa of upper-left corner.

$y

(Required) (float) Ordinate of upper-left corner.

$w

(Required) (float) Width.

$h

(Required) (float) Height.

$rx

(Required) (float) the x-axis radius of the ellipse used to round off the corners of the rectangle.

$ry

(Required) (float) the y-axis radius of the ellipse used to round off the corners of the rectangle.

$round_corner

(Optional) (string) Draws rounded corner or not. String with a 0 (not rounded i-corner) or 1 (rounded i-corner) in i-position. Positions are, in order and begin to 0: top right, bottom right, bottom left and top left. Default value: all rounded corner ("1111").

Default value: '1111'

$style

(Optional) (string) Style of rendering. See the getPathPaintOperator() function for more information.

Default value: ''

$border_style

(Optional) (array) Border style of rectangle. Array like for SetLineStyle(). Default value: default line style (empty array).

Default value: array()

$fill_color

(Optional) (array) Fill color. Format: array(GREY) or array(R,G,B) or array(C,M,Y,K) or array(C,M,Y,K,SpotColorName). Default value: default color (empty array).

Default value: array()


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.9.019 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.