public class RoadMediaBuilder extends BaseMediaBuild
限定符和类型 | 字段和说明 |
---|---|
protected String |
backgroundColor |
protected List<BaseRoute> |
baseRoutes |
构造器和说明 |
---|
RoadMediaBuilder() |
限定符和类型 | 方法和说明 |
---|---|
RoadMediaBuilder |
addBaseRoute(BaseRoute baseRoute)
添加底图信息
|
RoadMediaBuilder |
backgroundColor(String backgroundColor) |
BaseMedia |
build()
创建命名String
|
RoadMediaBuilder |
height(int height) |
RoadMediaBuilder |
width(int width) |
RoadMediaBuilder |
x(int x) |
RoadMediaBuilder |
y(int y) |
duration, index
protected String backgroundColor
public BaseMedia build()
BaseMediaBuild
build
在类中 BaseMediaBuild
public RoadMediaBuilder x(int x)
x
在类中 BaseMediaBuild
x
- 显示区域左上角的 x 坐标public RoadMediaBuilder y(int y)
y
在类中 BaseMediaBuild
y
- 显示区域左上角的 y 坐标public RoadMediaBuilder width(int width)
width
在类中 BaseMediaBuild
width
- 显示区域宽度,单位像素public RoadMediaBuilder height(int height)
height
在类中 BaseMediaBuild
height
- 显示区域高度,单位像素public RoadMediaBuilder backgroundColor(String backgroundColor)
public RoadMediaBuilder addBaseRoute(BaseRoute baseRoute)
baseRoute
- Copyright © 2023. All rights reserved.