crop method
crop
Cropping the image.
def crop(self, rectangle):
...
Parameter | Type | Description |
---|---|---|
rectangle | Rectangle | The rectangle. |
crop
Crop image with shifts.
def crop(self, left_shift, right_shift, top_shift, bottom_shift):
...
Parameter | Type | Description |
---|---|---|
left_shift | int | The left shift. |
right_shift | int | The right shift. |
top_shift | int | The top shift. |
bottom_shift | int | The bottom shift. |
See Also
- module
aspose.cad
- class
RasterImage