BP_GOPP_Image_Editor_GS::作物(intsrc_x美元intsrc_y美元intsrc_w美元intsrc_h美元intdst_w美元intdst_h美元保龄球src_abs美元

作物的形象。不受支持的。

描述

参数

src_x美元

int(必需)要裁剪的起始x位置。

src_y美元

int(必需)从起始位置开始裁切。

src_w美元

int(必需)作物的宽度。

src_h美元

int(必需)作物的高度。

dst_w美元

int(可选)目的地的宽度。

默认值:空

dst_h美元

int(可选)目标的高度。

默认值:空

src_abs美元

保龄球(可选)如果源作物点是绝对的。

默认值:假

返回

(WP_Error)

文件:bp-document /类/ class-bp-gopp-image-editor-gs.php

public function crop($src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false) {return new WP_Error('image_crop_error', __('不支持的操作。', 'buddyboss'));}

更新日志

更新日志
版本 描述
BuddyBoss 1.4.0 介绍了。

问题吗?

我们总是很乐意帮助您解决代码或其他问题!搜索我们的开发人员文档联络支持,或与我们联系销售团队