subject

Write a function that draws a pool ball. this function should take as parameters, the color, the number that should go on the pool ball, and the location of the center of the pool ball. the radius of the pool balls should be pool_ball_radius, and the font of the number should be pool_ball_font. the text of the pool ball font should be white. drawpoolball(color. orange, 5, 100, 100); drawpoolball(color. green, 6, 50, 200); drawpoolball(color. red, 3, 150, 350); drawpoolball(color. blue, 2, 250, 140); to center the numbers on the pool ball, you should use the getwidth() and getheight() methods. you are allowed to call these methods on your text object, such as txt.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 18:30
What are the benefits to using presentations to organize and deliver information in the workplace? they add visual appeal. they are easy to update. they ensure accuracy. they can be created quickly. the work can't be lost.
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
True or false: a power supply is an electrical transformer that regulates the electricity used by the computer.
Answers: 1
question
Computers and Technology, 25.06.2019 18:00
When photographing a bird, you should try not to photograph the habitat in the background. a) true b) false
Answers: 2
question
Computers and Technology, 25.06.2019 21:30
April has joined a team with members from the sales, customer service, a shipping and receiving departments. which term best describes the team april joined? a. cross-functional team b. self-managing team c. problem-solving team d. work team
Answers: 2
You know the right answer?
Write a function that draws a pool ball. this function should take as parameters, the color, the num...
Questions
question
Mathematics, 15.12.2020 16:30
question
Mathematics, 15.12.2020 16:30
Questions on the website: 13722359