We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Entity which defines shadow parameters. Includes color, offset, blur, spread.
UIColor Color Color - shadow's color.
CGPoint Point Offset - x and y offset for shadow.
nfloat int Blur - shadow's blur radius.
int Spread - shadow's spread. Doesn't use at the moment.
When Shadow config is set for the control, it's alter UIView shadow layer. Under the hood it works like this:
Layer.ShadowColor = config.Color.CGColor; Layer.ShadowOffset = new CGSize(config.Offset); Layer.ShadowRadius = config.Blur / 2; Layer.ShadowOpacity = 1.0f;
For simple button, shadow config alters only elevation property. For FabProgress there is custom shadow drawable which paints shadow layer.