Example #1
0
        public mModifyBrightness(int Value)
        {
            Effect         = new BrightnessAdjustmentFilter();
            Effect.Level   = Value;
            Effect.Enabled = true;

            filter = Effect;
        }
Example #2
0
        private Sf.Filter GetBrightnessFilter()
        {
            BrightnessAdjustmentFilter filter = new BrightnessAdjustmentFilter();

            filter.Level = (int)Value;

            filter.Enabled = true;
            return(filter);
        }