Add support for image stretching in text symbolizer's background graphic
------------------------------------------------------------------------

                 Key: GEOT-3238
                 URL: http://jira.codehaus.org/browse/GEOT-3238
             Project: GeoTools
          Issue Type: Improvement
          Components: core render
    Affects Versions: 2.7-M2
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.7-M3


TextSymbolizer2 has had support for background graphic for quite some time. 
Unfortunately the graphic has a single size, does not adapt to the label length.

Add support for such stretching, so that the user can ask the graphic to grow 
either proportionally or be stretched just to fit the label, plus an eventual 
margin around the label the be specified similarly to css margins.

Examples:

{code}
            <VendorOption name="graphic-resize">stretch</VendorOption>
            <VendorOption name="graphic-margin">5 6 6 6</VendorOption>
{code}

{code}
            <VendorOption name="graphic-resize">proportional</VendorOption>
            <VendorOption name="graphic-margin">6 8</VendorOption>
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
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

Reply via email to