Hi,

I have submitted a pull request for this issue.

Igor if you don't mind I will put this as the pull request for the
proposal. 

Best regards,

Nuno Oliveira

Le dimanche 16 août 2015 à 12:20 +0100, Igor Volkov a écrit :
> In order to clarify the essence of my doubts about the expected behavior of
> the method float[] Stroke.getDashArray() I have add new test in
> SLDStyleTest:
> 
>     Stroke stroke = sf.createStroke(null, null);
>     assertNull(stroke.getDashArray());
> 
>     List<Expression> dashArray = stroke.dashArray();
>     dashArray.add(ff.literal("5"));
>     dashArray.add(ff.literal("10"));
>     assertTrue(Arrays.equals(new float[]{5, 10},  stroke.getDashArray()));
> 
>     dashArray.add(ff.property("dash_size"));
>     assertTrue(Arrays.equals(new float[]{},  stroke.getDashArray()));
> 
>     Stroke stroke2 = sf.createStroke(null, null, null,
>             null, null, new float[]{5, 10}, null,
>             null, null);
>     assertTrue(Arrays.equals(new float[]{5, 10},  stroke2.getDashArray()));
> 
> Is this the behavior that users of method getDashArray() can expect?
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/SLD-Stroke-Dasharray-Property-tp5083512p5219894.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel



------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to