write a program to draw Pentagon and fill it with red color using boundary fill algorithm with 8 connected method
Answers
Answered by
2
Answer:
Boundary Fill Algorithm starts at a pixel inside the polygon to be filled and paints the interior proceeding outwards towards the boundary. This algorithm works only if the color with which the region has to be filled and the color of the boundary of the region are different. If the boundary is of one single color, this approach proceeds outwards pixel by pixel until it hits the boundary of the region
aditipatil5118:
tell the program plz
Similar questions