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

Allow X and Y position for iOS shadowOffest #13

Open
zurie opened this issue Jan 12, 2019 · 0 comments
Open

Allow X and Y position for iOS shadowOffest #13

zurie opened this issue Jan 12, 2019 · 0 comments

Comments

@zurie
Copy link

zurie commented Jan 12, 2019

Would be nice to use X,Y offset

            this.myLabel.ios.layer.masksToBounds = false;
            this.myLabel.ios.layer.shadowOpacity = .3;
            this.myLabel.ios.layer.shadowRadius = 0;
            this.myLabel.ios.layer.shadowColor = new Color('white').ios.CGColor;
            this.myLabel.ios.layer.shadowOffset = CGSizeMake(1.0, 1.0);

Hard to use shadows when you are forced to have only the Y offset. Am i Missing something that makes this easier with your plugin?

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

1 participant