Fill all color components with same value.
(self, value=None, bbox=None)
| 13564 | return mupdf.fz_pixmap_alpha(self.this) |
| 13565 | |
| 13566 | def clear_with(self, value=None, bbox=None): |
| 13567 | """Fill all color components with same value.""" |
| 13568 | if value is None: |
| 13569 | mupdf.fz_clear_pixmap(self.this) |
| 13570 | elif bbox is None: |
| 13571 | mupdf.fz_clear_pixmap_with_value(self.this, value) |
| 13572 | else: |
| 13573 | JM_clear_pixmap_rect_with_value(self.this, value, JM_irect_from_py(bbox)) |
| 13574 | |
| 13575 | def color_count(self, colors=0, clip=None): |
| 13576 | ''' |
no test coverage detected