How about allowing a Displacement for Halos (relative to the label)? -- David Winslow OpenGeo - http://opengeo.org/
On Sun, 08 Aug 2010 21:28:49 +0200, Andrea Aime <aa...@opengeo.org> wrote: > Hi, > one common way to make labels stand out, other than halos (which are > often quite cheesy) is to trop a shadow, which looks especially good > if it's really small. > > See the TypeBrewer online utility for an example (the major labels > have a tiny white shadow that they call highlight). > > I would like to add that effect to our renderer. Rendering wise > it's trivial, what is not trivial is adding it to the API.... > > In theory I'd like to add the ability to parse the following: > > <xsd:element name="Shadow"> > <xsd:annotation> > <xsd:documentation> > A "Shadows" draws the same label with an offset and a different > color > </xsd:documentation> > </xsd:annotation> > <xsd:complexType> > <xsd:sequence> > <xsd:element ref="sld:Displacement" minOccurs="0"/> > <xsd:element ref="sld:Fill" minOccurs="0"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > > A shadow has a fill color, displacementX, displacementY. > Easy, end of story... > > However, that also means adding a new interface, a new > implementating, and changing the style visitor interface > and all implementations. Sounds material for a proposal... > Bleck!!! > > I don't see much of an alternative though... any bright idea? > > Cheers > Andrea ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel