Help for this page

Select Code to Download


  1. or download this
    my $hang_width = $text_object->advancewidth($arg{'-hang'});
    
  2. or download this
        $width = $txt->advancewidth $string [, %textstate]
            Returns the width of the string based on all currently set
            text-attributes or on those overridden by %textstate.