Solved

BasicStroke MyLine = New BasicStroke(12.0f, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_ROUND);

Question 45

Essay

BasicStroke myLine = new BasicStroke(12.0f, BasicStroke.CAP_SQUARE, BasicStroke.JOIN_ROUND);
The above statement creates a BasicStroke object and makes it the current stroke. Describe the three arguments that are used in this statement, and then describe the purpose of each.

Correct Answer:

verifed

Verified

A BasicStroke constructor takes three ar...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions