NAME

PDF::Make::Builder::Shape::Circle - Filled circle for PDF::Make

SYNOPSIS

$builder->add_shape(circle => {
    fill_colour => '#f00',
    x           => 200,
    y           => 300,
    r           => 50,
});

DESCRIPTION

Draws a filled circle 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).

r (Num, required)

Radius in points.

METHODS

add($builder)

Renders the circle onto the current page canvas. Returns $self.

SEE ALSO

PDF::Make::Builder, PDF::Make::Builder::Shape::Ellipse