🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2745

Lines thicker than one pixel

#2745
From: David Br�nnvall
Date: Mon, 15 May 2000 00:00
8 lines
721 bytes
is it possible to draw lines thicker than one pixel on a Graphics object?

public void paint(Graphics g) {
  // do something to set the width of the line then
   g.drawLine(p1.x, p1.y, p2.x, p2.y);
}

regards David
Technical Details
Message-ID: <391f2d2a@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,e77dfefd062595a7,start
X-Google-Attributes: gid1089d0,public
From: "David Br�nnvall" <david@strangnas.mail.telia.com>
Subject: Lines thicker than one pixel
Date: 2000/05/15
Message-ID: <391f2d2a@dnews>
X-Deja-AN: 623396960
X-Trace: 14 May 2000 15:48:10 -0800, 195.198.161.173
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.api
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700