ff
This commit is contained in:
@@ -31,15 +31,11 @@ class CropFilter(Filter):
|
|||||||
|
|
||||||
super().__init__(self)
|
super().__init__(self)
|
||||||
|
|
||||||
def setArguments(self,
|
def setArguments(self, **kwargs):
|
||||||
outputWidth: int,
|
self.__outputWidth = int(kwargs.get(CropFilter.OUTPUT_WIDTH_KEY))
|
||||||
outputHeight: int,
|
self.__outputHeight = int(kwargs.get(CropFilter.OUTPUT_HEIGHT_KEY))
|
||||||
offsetX: int,
|
self.__offsetX = int(kwargs.get(CropFilter.OFFSET_X_KEY,))
|
||||||
offsetY: int):
|
self.__offsetY = int(kwargs.get(CropFilter.OFFSET_Y_KEY,))
|
||||||
self.__outputWidth = int(outputWidth)
|
|
||||||
self.__outputHeight = int(outputHeight)
|
|
||||||
self.__offsetX = int(offsetX)
|
|
||||||
self.__offsetY = int(offsetY)
|
|
||||||
|
|
||||||
def getPayload(self):
|
def getPayload(self):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user