Help for this page

Select Code to Download


  1. or download this
    
    $myPolygons = 
    ...
               }
          }
    
  2. or download this
    @_ = ($x0, $y0, $x1, $y1, $x2, $y2, $x3, $y3)
    
  3. or download this
    $x0, $y0, $x1, $y1
    
  4. or download this
    @{$points_by_name{$key}}[0..3];
    @{$points_by_name{$key}}[2..5];
    @{$points_by_name{$key}}[4..7];
    @{$points_by_name{$key}}[6..9];
    
  5. or download this
    foreach my $key (keys %points_by_name)
        {
    ...
                }
            }
        }
    
  6. or download this
    foreach my $key (keys %other_hash)
        {
    ...
                }
            }
        }