Inconsistent Fill BGCOLOR when using StyleFactoryImpl.createFill() and 
StyleFactoryImpl.getDefaultFill()
--------------------------------------------------------------------------------------------------------

                 Key: GEOT-3758
                 URL: https://jira.codehaus.org/browse/GEOT-3758
             Project: GeoTools
          Issue Type: Bug
          Components: api, main
    Affects Versions: 2.7.2
            Reporter: Milton Jonathan
            Priority: Minor
         Attachments: geotools-tecgraf.2.7.x.fill_default_bgcolor_test.patch

If no BGCOLOR is ever specified, we have different behaviors in those two 
methods: one leaves BGCOLOR as null, the other ends up with BGCOLOR = new 
Color(255,255,255,0). Either Fill.DEFAULT should not specify this default 
BGCOLOR (and leave it null) or StyleFactoryImpl.getDefaultFill() should take 
Fill.DEFAULT into consideration when creating the Fill object.

A patch is provided with a test case indicating the error. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to