Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Graphics::Primitive::Insets - Space between things

Author

       Cory Watson, "<gphat@cpan.org>"

Description

       Graphics::Primitive::Insets represents the amount of space that surrounds something.  This object can be
       used to represent either padding or margins (in the CSS sense, one being inside the bounding box, the
       other being outside)

Methods

Constructornew Creates a new Graphics::Primitive::Insets.

   InstanceMethodsas_array
           Return these insets as an array in the form of top, right, bottom and left.

       bottom
           Set/Get the inset from the bottom.

       equal_to
           Determine if these Insets are equal to another.

       left
           Set/Get the inset from the left.

       right
           Set/Get the inset from the right.

       top Set/Get the inset from the top.

       zero
           Sets all the insets (top, left, bottom, right) to 0.

Name

       Graphics::Primitive::Insets - Space between things

See Also

perl(1)

Synopsis

         use Graphics::Primitive::Insets;

         my $insets = Graphics::Primitive::Insets->new({
           top     => 5,
           bottom  => 5,
           left    => 5,
           right   => 5
         });

See Also