RE: [OpenMap Users] Changing the thickness of Line and size of Arrow Head

From: Chris Allport <chris.allport_at_red-inc.us>
Date: Tue, 19 Apr 2005 09:08:13 -0400

Certainly! Hopefully, the following code will work.

--
com.bbn.openmap.omGraphics.OMLine line = new
com.bbn.openmap.omGraphics.OMLine(lat, lon, lat_2, lon_2,
com.bbn.openmap.omGraphics.OMLine.CURVED_LINE);
line.setStroke(new java.awt.BasicStroke(3.0f));
rg.addArrowHead(com.bbn.openmap.omGraphics.omArrowHead.ARROWHEAD_DIRECTION_F
ORWARD,
                100,  // percent position along line
                4,    // Arrow width
                10);  // Arrow Length
--
This should do it!
-----Original Message-----
From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]On
Behalf Of Chan Kwang Mien
Sent: Tuesday, April 19, 2005 3:04 AM
To: OpenMap Support; 'openmap-users_at_bbn.com'
Subject: [OpenMap Users] Changing the thickness of Line and size of
Arrow Head
hi,
Does anyone know how I could change the thickness of lines and size of the
arrow heads
in OpenMap ?
There seems to be no options in OMLine() which I could use to change.
Thank you.
regards,
Kwang Mien
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Apr 19 2005 - 09:09:37 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT