Пример #1
0
 /// <summary>
 /// Constructs an ImgWMF-object, using a filename.
 /// </summary>
 /// <param name="filename">a string-representation of the file that contains the image.</param>
 public ImgWMF(string filename) : this(Image.toURL(filename))
 {
 }
Пример #2
0
 /// <summary>
 /// Constructs a Jpeg-object, using a filename.
 /// </summary>
 /// <remarks>
 /// Deprecated, use Image.getInstance(...) to create an Image
 /// </remarks>
 /// <param name="filename">a string-representation of the file that contains the Image.</param>
 public Jpeg(string filename) : this(Image.toURL(filename))
 {
 }
Пример #3
0
 /// <summary>
 /// Constructs a Jpeg-object, using a filename.
 /// </summary>
 /// <remarks>
 /// Deprecated, use Image.getInstance(...) to create an Image
 /// </remarks>
 /// <param name="filename">a string-representation of the file that contains the Image.</param>
 /// <param name="width">the scaled width</param>
 /// <param name="height">the scaled height</param>
 public Jpeg(string filename, float width, float height) : this(Image.toURL(filename), width, height)
 {
 }
Пример #4
0
 /// <summary>
 /// Constructs a Gif-object, using a filename.
 /// </summary>
 /// <remarks>
 /// Deprecated, use Image.getInstance(...) to create an Image
 /// </remarks>
 /// <param name="filename">a string-representation of the file that contains the Image</param>
 public Gif(string filename) : this(Image.toURL(filename))
 {
 }