--- Patrick McConnell <[EMAIL PROTECTED]> wrote: >

> I am having some problems spacing features out
> vertically with a
> MultiLineRender.  My MultiLineRenderer draws
> directly to the
> HeaderlessContext, and all of the feature blocks are
> bumping against each
> other vertically.  How do I add some padding?

I think you just wrap the renderer in an instance of
PaddingRenderer.

> 
> Thanks again!
> 
> -Patrick
> 
> 
> 
> 
> 
> Keith James <[EMAIL PROTECTED]>@biojava.org on
> 03/30/2003 04:57:16 PM
> 
> Sent by:    [EMAIL PROTECTED]
> 
> 
> To:    "Patrick McConnell" <[EMAIL PROTECTED]>
> cc:    "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]>
> 
> Subject:    Re: [Biojava-l] how to do multi-lined
> feature display
> 
> 
> Sorry about the delay replying - one host I use here
> has been silently
> dropping a lot of my outgoing mail. This is reply is
> regarding
> imagemaps...
> 
> There is some imagemap infrastructure in the same
> package as the
> SequenceRenderers which might be some use; see the
> ImageMap interface,
> its ClientSide and ServerSide implementations, the
> HotSpot class
> (which encapsulates coordinates, a URL and an
> optional user Object)
> and the ImageMapRenderer interface.
> 
> ImageMapRenderer is a decorator for FeatureRenderer
> which provides a
> method for creating suitable coord Strings. The
> current impls are a
> bit sucky because I haven't had time to factor out
> the common parts of
> the image-drawing and HotSpot-creating code. Right
> now there are
> imagemap renderers for RectangularBeads and Ziggys,
> but it's a bit of
> a pain creating new renderers.
> 
> Keith
> 
> --
> 
> - Keith James <[EMAIL PROTECTED]> bioinformatics
> programming support -
> - Pathogen Sequencing Unit, The Wellcome Trust
> Sanger Institute, UK -
> 
> _______________________________________________
> 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 

__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to