public class ImageCenterCut extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ImageCenterCut() |
ImageCenterCut(ImageCenterCut source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getHeight()
Get The height (pixels) of the output image.
|
Long |
getRadius()
Get The radius of the output image.
|
String |
getType()
Get The cropping type.
|
Long |
getWidth()
Get The width (pixels) of the output image.
|
void |
setHeight(Long Height)
Set The height (pixels) of the output image.
|
void |
setRadius(Long Radius)
Set The radius of the output image.
|
void |
setType(String Type)
Set The cropping type.
|
void |
setWidth(Long Width)
Set The width (pixels) of the output image.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ImageCenterCut()
public ImageCenterCut(ImageCenterCut source)
public String getType()
public void setType(String Type)
Type - The cropping type. Valid values:
public Long getWidth()
public void setWidth(Long Width)
Width - The width (pixels) of the output image. This parameter is valid if `Type` is `Rectangle`.public Long getHeight()
public void setHeight(Long Height)
Height - The height (pixels) of the output image. This parameter is valid if `Type` is `Rectangle`.public Long getRadius()
public void setRadius(Long Radius)
Radius - The radius of the output image. This parameter is valid if `Type` is `Circle`.Copyright © 2025. All rights reserved.