World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Symbology and Tactical Graphics

Reply
 
Thread Tools Display Modes
Old 08-01-2012, 07:39 PM   #1
ens121
Member
 
Join Date: Mar 2011
Location: Omaha, NE
Posts: 39
ens121 is on a distinguished road
Default rectange and circle graphic highlighting

When I set highlight to true on an AbstractRectangularTarget or AbstractCircularTarget, only the text modifiers are highlighted in the highlight color. The graphics themselves stay the normal color. This is especially bad if there are no visible text modifiers since user cannot tell if graphic is highlighted or not.

Since the SurfaceQuad or SurfaceCircle are not exposed, not sure if there is a workaround for this.

Thank You.
ens121 is offline   Reply With Quote
Old 08-02-2012, 05:31 PM   #2
pabercrombie
WW Dev. Team
 
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
pabercrombie is on a distinguished road
Default

I'm not sure that I understand what you're trying to do. There is no class AbstractRectangularTarget; do you mean AbstractRectangularGraphic? Highlighting AbstractRectangularGraphic and AbstractCircularGraphic works correctly (both the shape and the text changes color). Can you post some code to show what you're doing and what's not working?
pabercrombie is offline   Reply With Quote
Old 08-02-2012, 06:50 PM   #3
ens121
Member
 
Join Date: Mar 2011
Location: Omaha, NE
Posts: 39
ens121 is on a distinguished road
Default

You are right, I meant Graphic, not Target (the actual object was a target). I found the issue in my code where the highlight interior attribute was getting set instead of the outline, so this it is now working. Sorry for the confusion.
ens121 is offline   Reply With Quote
Old 08-03-2012, 01:32 AM   #4
pabercrombie
WW Dev. Team
 
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
pabercrombie is on a distinguished road
Default

Ok, glad to hear that you got it working.
pabercrombie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:52 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.