public static final class AliyunBorderParam.Builder
extends java.lang.Object
AliyunBorderParam
builder static inner class.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AliyunBorderParam.Builder |
borderColor(int color)
Sets the border color of the video
|
AliyunBorderParam.Builder |
borderWidth(int width)
Sets the border width of the video
|
AliyunBorderParam |
build() |
AliyunBorderParam.Builder |
corner(float cornerSize)
Sets the video corner radius
|
AliyunBorderParam.Builder |
cornerRadius(float radius)
Deprecated.
|
public AliyunBorderParam.Builder borderWidth(int width)
width
- border widthpublic AliyunBorderParam.Builder borderColor(int color)
color
- border color@Deprecated public AliyunBorderParam.Builder cornerRadius(float radius)
corner(float)
insteadradius
- corner radius1public AliyunBorderParam.Builder corner(float cornerSize)
cornerSize
- 圆角半径 单位:像素public AliyunBorderParam build()
AliyunBorderParam
built with parameters of AliyunBorderParam.Builder
.