how can I create a dropshadow in SharpDX? Their website suggests:
'SharpDX.Direct2D1.Effects' - Shadow Class. However NinjaScript does not seem to have access to this.
As you can see by the image I have successfully made a drop shadow on my test buttons:
btn1.Effect = new DropShadowEffect { Color = new Color {A = 1, R = 0, G = 0, B = 0}, Direction = 270, ShadowDepth = 5, Opacity = 0.25, BlurRadius = 20 };
Thank you,
Simon.
Comment