Lightningbeam/PyGUI-2.5.3/Doc/Image.html

26 lines
970 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>PyGUI - Image</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head>
<body>
<h1>class <tt>Image<tt>(<a href="ImageBase.html">ImageBase</a>)</tt></tt></h1>
The Image class represents an RGB image that can be loaded from a file
and drawn on a <a href="Canvas.html">Canvas</a>.<br>
<br>
On platforms which support it, an Image can have an alpha channel and will
be rendered with transparency.<br>
<h2>Constructors</h2>
<blockquote> <dl>
<dt><tt>Image(file</tt> <tt>=</tt> <i>filename</i><tt>)</tt></dt>
<dd>Creates an Image from the contents of the given file. The set of
supported file formats is platform-dependent.</dd>
<dd><i>Note:</i> The <span style="font-style: italic;">file </span>parameter must be specified using a
keyword argument.</dd>
</dl>
</blockquote>---<br>
<br>
<br>
</body></html>