public abstract class BaseMediaBuild extends Object
限定符和类型 | 字段和说明 |
---|---|
protected int |
duration |
protected int |
height |
protected int |
index |
protected int |
width |
protected int |
x |
protected int |
y |
构造器和说明 |
---|
BaseMediaBuild() |
限定符和类型 | 方法和说明 |
---|---|
abstract BaseMedia |
build()
创建命名String
|
protected BaseMediaBuild |
duration(int duration)
媒体播放时长,默认值为100
|
BaseMediaBuild |
height(int height) |
BaseMediaBuild |
index(int index)
节目的播放顺序
|
BaseMediaBuild |
width(int width) |
BaseMediaBuild |
x(int x) |
BaseMediaBuild |
y(int y) |
protected int index
protected int x
protected int y
protected int width
protected int height
protected int duration
public BaseMediaBuild index(int index)
index
- 播放顺序public BaseMediaBuild x(int x)
x
- 显示区域左上角的 x 坐标public BaseMediaBuild y(int y)
y
- 显示区域左上角的 y 坐标public BaseMediaBuild width(int width)
width
- 显示区域宽度,单位像素public BaseMediaBuild height(int height)
height
- 显示区域高度,单位像素protected BaseMediaBuild duration(int duration)
duration
- protected修饰,不对外暴露public abstract BaseMedia build()
Copyright © 2023. All rights reserved.