Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha / Opacity for Shape, Polyline? #56

Closed
christocracy opened this issue Aug 1, 2016 · 1 comment
Closed

Alpha / Opacity for Shape, Polyline? #56

christocracy opened this issue Aug 1, 2016 · 1 comment

Comments

@christocracy
Copy link
Contributor

Is it not possible to define alpha/opacity for Shape & Polyline?

@dapriett
Copy link
Owner

dapriett commented Aug 3, 2016

You should be able to do it with the color - try something like this:

// Creates the color with 75 alpha, 255 red, 100 green, 100 blue
var color = new Color(75, 255, 100, 100);
var polyline = new mapsModule.Polyline();
polyline.color = color;

@dapriett dapriett closed this as completed Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants