Help for this page

Select Code to Download


  1. or download this
    my $circle = Circle->new(4.5, 2.3, 2.2, 1)
    
  2. or download this
    my $circle = Circle->new();
    $circle->set_radius(4.5);
    $circle->set_origin(2.3, 2.2);
    $circle->set_visibility(1);
    
  3. or download this
    my $circle = Circle->new(
        radius     => 4.5,
        origin     => [2.3, 2.2],
        visibility => 1,
    );