public function clip($originX, $originY, $width, $height) {
$this->imagick->cropImage($width, $height, $originX, $originY);
}
+
+ /**
+ * @see wcf\system\image\adapter\IImageAdapter::resize()
+ */
+ public function resize($originX, $originY, $originWidth, $originHeight, $targetX, $targetY, $targetWidth, $targetHeight) {
+ // TODO: Implement resize() method.
+ }
/**
* @see wcf\system\image\adapter\IImageAdapter::drawRectangle()
*/
- public function drawRectangle($startX, $startY, $endX, $endY, $color) {
+ public function drawRectangle($startX, $startY, $endX, $endY) {
$draw = new \ImagickDraw();
$draw->setFillColor($this->color);
$draw->setStrokeColor($this->color);
/**
* @see wcf\system\image\adapter\IImageAdapter::drawText()
*/
- public function drawText($string, $x, $y, $color, $font = 4) {
+ public function drawText($string, $x, $y) {
$draw = new \ImagickDraw();
$draw->setFillColor($this->color);
$draw->setTextAntialias(true);