Thickening a Line in Java Applet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • final farewell
    New Member
    • Jul 2007
    • 3

    #1

    Thickening a Line in Java Applet

    Hi

    In java applet, there is a method which helps the application to draw a line and sets its color. eg. drawLine and setColor.

    I was wondering if it is possible to thicken the line?
    If so, which method is that?

    Thanks.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by final farewell
    Hi

    In java applet, there is a method which helps the application to draw a line and sets its color. eg. drawLine and setColor.

    I was wondering if it is possible to thicken the line?
    If so, which method is that?

    Thanks.
    Read all about it in the API docs for the BasicStroke class and the
    Graphics2D class.

    kind regards,

    Jos

    Comment

    Working...