com.volcengine.model.live.v20230101.UpdateSubtitleTranscodePresetBodyPosition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.live.v20230101;
import com.alibaba.fastjson.JSON;
/**
* UpdateSubtitleTranscodePresetBodyPosition
*/
@lombok.Data
public final class UpdateSubtitleTranscodePresetBodyPosition {
/**
* 字幕距离画面底部的边距与画面高度的占比,使用归一化百分表示,取值范围为 [0,0.5]。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MarginVertical")
private Float marginVertical;
/**
* 字幕距离画面两侧的边距与画面宽度的占比,使用归一化百分表示,取值范围为 [0,0.2]。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MarginHorizontal")
private Float marginHorizontal;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy