示例#1
0
        public mModifyColorTint(wColor FillColor, int Value)
        {
            Effect         = new ColorTintFilter();
            Effect.Color   = new mImageColor(FillColor).ToDynamicColor();
            Effect.Amount  = Value;
            Effect.Enabled = true;

            filter = Effect;
        }
示例#2
0
        private Sf.Filter GetColorTintFilter()
        {
            ColorTintFilter filter = new ColorTintFilter();

            filter.Amount = (int)Value;
            filter.Color  = Color.ToDynamicColor();

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