Пример #1
0
            /// <summary>
            /// Creates a new Builder instance with the image at the given path.
            /// </summary>
            /// <param name="imageFile">the path to the image</param>
            /// <returns>new Builder instance</returns>
            public static Builder NewInstance(string imageFile)
            {
                ValidationUtil.RequireImageFile(imageFile);

                return(new Builder(imageFile));
            }