This project is read-only.

Polygon properties

Jun 17, 2015 at 6:42 PM
Edited Jun 17, 2015 at 8:29 PM
I'm drawing a polygon in a in-memory shapefile and want to set some properties like the fill color and transparency.

I have read that I can use properties like ShapeDrawFill, ShapeFillColor, ShapeLayerFillColor and a few more but I can't find them under any object.

this is an example property I can't find:

Jun 18, 2015 at 10:53 AM
It's generally recommended to use ShapeDrawingOptions / categories to do it, since it's more recent and flexible API. Section 3 here demonstrates how to set options common for all polygons. And sections 6,7 show the use of categories to change appearance of individual polygons (you need to create a category first and then to assign it to certain set of polygons).

Hope it helps,
Marked as answer by selad on 6/18/2015 at 3:56 AM
Jun 18, 2015 at 11:57 AM
@sleschinski It does help, thanks.