NAME
PDF::Make::Builder::Shape::Ellipse - Filled ellipse for PDF::Make
SYNOPSIS
$builder->add_shape(ellipse => {
fill_colour => '#0a0',
x => 200,
y => 300,
w => 120,
h => 80,
});
DESCRIPTION
Draws a filled ellipse on the current page canvas using cubic Bezier curve approximation.
PROPERTIES
- fill_colour (Str, default
'#000') -
Fill colour as a hex string.
- x (Num, required)
-
Centre X coordinate.
- y (Num, required)
-
Centre Y coordinate (bottom-left origin).
- w (Num, required)
-
Full width of the ellipse (diameter along the X axis).
- h (Num, required)
-
Full height of the ellipse (diameter along the Y axis).