public BoxShadowValue(BoxShadow objValue) { this.mobjValue = objValue; }
private object ConvertToInstanceDescriptor(ITypeDescriptorContext objContext, BoxShadow objPadding) { Type[] typeArray; typeArray = new Type[] { typeof(Color), typeof(int), typeof(int), typeof(int) }; return new InstanceDescriptor(typeof(BoxShadow).GetConstructor(typeArray), new object[] { objPadding.Color, objPadding.XOffset, objPadding.YOffset, objPadding.BlurSize }); }
//internal void Scale(float fltX, float fltY) //{ // this.mintXOffset = (int) (this.mintXOffset * fltY); // this.mintColor = (int) (this.mintColor * fltX); // this.mintYOffset = (int) (this.mintYOffset * fltX); // this.mintBlurSize = (int) (this.mintBlurSize * fltY); //} static BoxShadow() { Empty = new BoxShadow(Color.Empty,0,0,0); }