my $gfx2=$page->gfx; $gfx2->strokecolor('red'); $gfx2->move(100,100); $gfx2->line(200,200); $gfx2->stroke;