logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tirex::Zoomrange - Range of zoom levels

Description

       Optionally named zoom level range.

Methods

Tirex::Zoomrange->new('foo',4,5)
       Create new range. First argument is the name. Second and third argument the min and max zoom levels. If
       no max level is given, it is the same as min.

       If the name is undef, it is set to 'zMIN-MAX' or 'zMIN' if MIN==MAX.

   $zr->get_name()
       Get name.

   $zr->get_min()
       Get minimum zoom level in this range.

   $zr->get_max()
       Get maximum zoom level in this range.

   $zr->to_s()
       Get range as string. Format "MIN-MAX" or "MIN" if MIN==MAX.

   $zr->get_id()
       Get id. The id is a simplified version of the name that only contains the characters a-z, 0-9, and _.

perl v5.40.1                                       2025-08-07                              Tirex::Zoomrange(3pm)

Name

       Tirex::Zoomrange - Range of zoom levels

Synopsis

       my $zr = Tirex::Job->new($name, $min[, $max])

See Also