OLD | NEW |
| (Empty) |
1 | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
3 <html><head><title>Python: module telemetry.core.chrome.png_bitmap</title> | |
4 </head><body bgcolor="#f0f0f8"> | |
5 | |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
7 <tr bgcolor="#7799ee"> | |
8 <td valign=bottom> <br> | |
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome
.html"><font color="#ffffff">chrome</font></a>.png_bitmap</strong></big></big></
font></td | |
10 ><td align=right valign=bottom | |
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/chrome/png_bitmap.py">telemetry/core/chrome/png_bitmap.py</a>
</font></td></tr></table> | |
12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> | |
13 # Use of this source code is governed by
a BSD-style license that can be<br> | |
14 # found in the LICENSE file.</tt></p> | |
15 <p> | |
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
17 <tr bgcolor="#aa55cc"> | |
18 <td colspan=3 valign=bottom> <br> | |
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
20 | |
21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="base64.html">base64</a><br> | |
23 </td><td width="25%" valign=top><a href="os.html">os</a><br> | |
24 </td><td width="25%" valign=top><a href="png.html">png</a><br> | |
25 </td><td width="25%" valign=top><a href="sys.html">sys</a><br> | |
26 </td></tr></table></td></tr></table><p> | |
27 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
28 <tr bgcolor="#ee77aa"> | |
29 <td colspan=3 valign=bottom> <br> | |
30 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
31 | |
32 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
33 <td width="100%"><dl> | |
34 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
35 </font></dt><dd> | |
36 <dl> | |
37 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.png_bitmap.html
#PngBitmap">PngBitmap</a> | |
38 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.chrome.png
_bitmap.html#PngColor">PngColor</a> | |
39 </font></dt></dl> | |
40 </dd> | |
41 </dl> | |
42 <p> | |
43 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
44 <tr bgcolor="#ffc8d8"> | |
45 <td colspan=3 valign=bottom> <br> | |
46 <font color="#000000" face="helvetica, arial"><a name="PngBitmap">class <strong>
PngBitmap</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></td></tr> | |
47 | |
48 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
49 <td colspan=2><tt>Utilities for parsing and inspecting
inspecting a PNG<br> </tt></td></tr> | |
50 <tr><td> </td> | |
51 <td width="100%">Methods defined here:<br> | |
52 <dl><dt><a name="PngBitmap-GetPixelColor"><strong>GetPixelColor</strong></a>(sel
f, x, y)</dt><dd><tt>Returns a <a href="#PngColor">PngColor</a> f
or the pixel at (x, y)</tt></dd></dl> | |
53 | |
54 <dl><dt><a name="PngBitmap-WriteFile"><strong>WriteFile</strong></a>(self, path)
</dt></dl> | |
55 | |
56 <dl><dt><a name="PngBitmap-__init__"><strong>__init__</strong></a>(self, base64_
png)</dt></dl> | |
57 | |
58 <hr> | |
59 Data descriptors defined here:<br> | |
60 <dl><dt><strong>__dict__</strong></dt> | |
61 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
62 </dl> | |
63 <dl><dt><strong>__weakref__</strong></dt> | |
64 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
65 </dl> | |
66 <dl><dt><strong>height</strong></dt> | |
67 <dd><tt>Height of the snapshot</tt></dd> | |
68 </dl> | |
69 <dl><dt><strong>width</strong></dt> | |
70 <dd><tt>Width of the snapshot</tt></dd> | |
71 </dl> | |
72 </td></tr></table> <p> | |
73 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
74 <tr bgcolor="#ffc8d8"> | |
75 <td colspan=3 valign=bottom> <br> | |
76 <font color="#000000" face="helvetica, arial"><a name="PngColor">class <strong>P
ngColor</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</
font></td></tr> | |
77 | |
78 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> | |
79 <td colspan=2><tt>Encapsulates an RGB color retreived f
rom a <a href="#PngBitmap">PngBitmap</a><br> </tt></td></tr> | |
80 <tr><td> </td> | |
81 <td width="100%">Methods defined here:<br> | |
82 <dl><dt><a name="PngColor-AssertIsRGB"><strong>AssertIsRGB</strong></a>(self, r,
g, b, tolerance<font color="#909090">=0</font>)</dt></dl> | |
83 | |
84 <dl><dt><a name="PngColor-AssertIsRGBA"><strong>AssertIsRGBA</strong></a>(self,
r, g, b, a, tolerance<font color="#909090">=0</font>)</dt></dl> | |
85 | |
86 <dl><dt><a name="PngColor-IsEqual"><strong>IsEqual</strong></a>(self, expected_c
olor, tolerance<font color="#909090">=0</font>)</dt><dd><tt>Verifies that&n
bsp;the color is within a given tolerance of<
br> | |
87 the expected color</tt></dd></dl> | |
88 | |
89 <dl><dt><a name="PngColor-__init__"><strong>__init__</strong></a>(self, r, g, b,
a<font color="#909090">=255</font>)</dt></dl> | |
90 | |
91 <hr> | |
92 Data descriptors defined here:<br> | |
93 <dl><dt><strong>__dict__</strong></dt> | |
94 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
95 </dl> | |
96 <dl><dt><strong>__weakref__</strong></dt> | |
97 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
98 </dl> | |
99 </td></tr></table></td></tr></table> | |
100 </body></html> | |
OLD | NEW |