Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 506
  • Last Modified:

way to make lines thicker when drawing an image

say I am drawing an image using the g.drawLine(function paramaters)

is there a way to make the lines thicker?
0
nywebsol
Asked:
nywebsol
1 Solution
 
objectsCommented:
Only if you are using Java2:

((Graphics2D)g).setStroke(new BasicStroke(3.0f));
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now