Shapes opacity ?

Jan 28, 2010 at 4:05 PM

Hello guys,

I am actuallly adding some nice shapes on top of the map, and I'm even available to sue a filling color for that.

But what I currently can't do is to use some sort of opacity on top of it, just to do it like on the AJA original SDK... Do one of you guys have been able to sort this out?

Cheers in advance !


Jan 29, 2010 at 12:56 AM

Depending upon the type of geometry you are using, you might be able to control the opacity using some properties on the Style.

For example, PolygonGeometry.Style and PolylineGeomtry.Style are a PolyInfo objects. PolyInfo has FillColor, LineColor, and LineHighlightColor properties, and you can set the alpha values there.

Hope that helps.

Jan 29, 2010 at 1:57 PM
Edited Jan 29, 2010 at 1:57 PM

Thanks a lot Josh, this is exactly what I was tryinf to de :)

Have a good week end!