Пример #1
0
        /// <summary>
        /// Skews the specified right shift.
        /// </summary>
        /// <param name="rightShift">The right shift.</param>
        /// <param name="upShift">Up shift.</param>
        /// <returns></returns>
        public Pipeline Skew(int rightShift, int upShift)
        {
            SkewFilter filter = new SkewFilter();

            filter.RightShift = rightShift;
            filter.UpShift    = upShift;
            _image            = filter.ExecuteFilter(_image);
            return(this);
        }
Пример #2
0
 /// <summary>
 /// Skews the specified right shift.
 /// </summary>
 /// <param name="rightShift">The right shift.</param>
 /// <param name="upShift">Up shift.</param>
 /// <returns></returns>
 public Pipeline Skew(int rightShift, int upShift)
 {
     SkewFilter filter = new SkewFilter();
     filter.RightShift = rightShift;
     filter.UpShift = upShift;
     _image = filter.ExecuteFilter(_image);
     return this;
 }