[Qgis-developer] Fw: Problems using QgsFillSymbolV2::createSimple()

Mihai Moise norway_mike at yahoo.com
Sat Nov 2 00:23:39 PDT 2013


Hi, I`m working at the moment on an OsGeoLive virtual box. 

I`m using QGIS 1.8.0
I tryed to create a simple Symbol, but it failed to load the props, showing me on the mapCanvas just a symbol with a random color.
This would be the code:


self.gol2_categ_7 = QgsSymbolV2.defaultSymbol(self.gol.geometryType())
self.gol2_categ_7.createSimple({"color": "0,0,0,255", "color_border": "0,0,0,255", "offset": "0,0", "style": "diagonal_x","style_border": "solid","width_border":"0.26"})

Could you tell me please how to resolve the problem, so that the symbol loads the props?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131102/7ce2b996/attachment.html>


More information about the Qgis-developer mailing list