Which method is used to display text on the applet?
Answers
Answered by
1
Answer:
Draw string method is defined in graphic class, it is used to output a string in an applet.
Hope its help you!!
PLEASE MARK ME AS BRAINLIEST....
Answered by
0
drawString()
drawString() method is used to display text on the applet.
Explanation:
- DrawString(String, Font, Brush, Single, Single, StringFormat) draws the given text string at the given location using the given Brush and Font objects
- while utilizing the formatting properties of the given StringFormat.
- Draws the text specified by the string str using the drawString() function. The graphics context's current colour and font are used to draw the string.
- The left end of the string is indicated by the value x. y is the baseline of the string's y-coordinate.
#SPJ3
Similar questions
Physics,
5 months ago
Environmental Sciences,
5 months ago
Biology,
5 months ago
Business Studies,
10 months ago
English,
1 year ago
Math,
1 year ago