Hi Todd,
The DistributionLogos class is not the best way to draw large logos with
additional features such as labels.
The best way to do this is to make a custom component and copy the drawing
code from DistributionLogo and incorporate your own code for labels etc.
This way you can also draw several positions in the Logo into one
component. The better option is to make the code draw direct to a
Graphics2D object. In this way the code can paint to a component or to a
BufferedImage.
- Mark
Todd Riley <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
02/01/2006 05:33 AM
To: [email protected]
cc: (bcc: Mark Schreiber/GP/Novartis)
Subject: [Biojava-l] Help needed tp add "Number of Bits"
vertical and column number
labeling to DistributionLogos
Hello,
I would like to add a "2 Bits" vertical label (with a bracket) and
column numbering to my DistributionLogos. I have seen both in some
graphics, but haven't been able to find the code in the demos or on the
web.
Thanks,
Todd
_______________________________________________
Biojava-l mailing list - [email protected]
http://biojava.org/mailman/listinfo/biojava-l
_______________________________________________
Biojava-l mailing list - [email protected]
http://biojava.org/mailman/listinfo/biojava-l