The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Graphics::Grid::Extents - Grob's extents on the drawing layer

VERSION

version 0.001

SYNOPSIS

    my $extents = $grob->extents($grid);

DESCRIPTION

This class represents a grob's extents (bounding box, etc) on the drawing layer. Usually its object is obtained by called the extents() method of a grob object.

ATTRIBUTES

x

x of the bottom-left point of the bounding box.

y

y of the bottom-left point of the bounding box.

width

Width of the bounding box.

height

Height of the bounding box.

METHODS

merge($other)

Returns a new Graphics::Grid::Extents object.

SEE ALSO

Graphics::Grid::Grob

AUTHOR

Stephan Loyd <sloyd@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018-2023 by Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.