World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 06-26-2012, 08:45 AM   #1
Anthra
Junior Member
 
Join Date: Jun 2011
Location: Liège, Belgium
Posts: 18
Anthra is on a distinguished road
Default ScreenAnnotation vertical alignment

Hi there,

I was wondering if there is a way to vertically align text in ScreenAnnotation.
The default seems to be from bottom to top. I would like to have my first line of text always at the same top position (if I change the rest of the text the position of the first line must remain the same, like in the most common text alignment).

Do you know if it's possible? And if it's not how I could extend/modify ScreenAnnotation to fit my requirements?

Thx in advance,

Anthra
Anthra is offline   Reply With Quote
Old 06-26-2012, 10:06 PM   #2
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,027
tag is on a distinguished road
Default

Play with the Annotations example and see if you can find the combination of attributes you want. They're all captured there.
tag is offline   Reply With Quote
Old 06-26-2012, 10:40 PM   #3
pabercrombie
WW Dev. Team
 
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
pabercrombie is on a distinguished road
Default

Annotation does not offer much control over vertical alignment. See this thread for some info on how people have extended Annotation to change the vertical alignment.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Alignment on ScreenAnnotation BraydenJames Development Help 4 03-02-2012 09:00 PM
How to add Chinese annotation on ScreenAnnotation yedaya Development Help 2 03-07-2010 03:09 PM
Vertical Image glu29 Development Help 13 03-04-2010 08:20 PM
KML AltitudeMode and Vertical Exaggeration question... James_In_Utah Developers' Corner 5 07-18-2008 09:20 PM
Vertical Exaggeration James_In_Utah Suggestion Box 16 05-13-2006 02:36 AM


All times are GMT +1. The time now is 04:47 PM.


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