BMFPolylineUpdate extension Null safety
polyline更新
- on
Methods
-
updateClickable(
bool clickable) → Future< bool> - 更新polyLine是否可点击
-
updateColors(
List colors, {List< int> ? indexs}) → Future<bool> - 更新colors
-
updateCoordinates(
List coordinates, {List< int> ? indexs}) → Future<bool> - 更新经纬度数组
-
updateDottedLine(
bool dottedLine) → Future< bool> - 更新是否设置虚线
-
updateIndexs(
List< int> indexs) → Future<bool> - 更新索引 【Android】
-
updateIsFocus(
bool isFocus) → Future< bool> - 更新是否可以被选中,获得焦点
-
updateIsKeepScale(
bool isKeepScale) → Future< bool> - 更新纹理宽、高是否保持原比例渲染
-
updateLineCapType(
dynamic lineCapType) → Future< bool> - 更新折线头尾处理方式
-
updateLineDashType(
dynamic lineDashType) → Future< bool> - 更新折线绘制样式
-
updateLineDirectionCross180(
dynamic lineDirectionCross180) → Future< bool> - 更新lineDirectionCross180
-
updateLineJoinType(
dynamic lineJoinType) → Future< bool> - 更新折线拐角处理方式
-
updateTextures(
List< String> textures) → Future<bool> - 更新纹理textures (iOS 暂不支持)
-
updateThined(
bool isThined) → Future< bool> - 更新polyline是否抽稀
-
updateVisible(
bool visible) → Future< bool> - 更新polyline是否显示
-
updateWidth(
int width) → Future< bool> - 更新线宽
-
updateZIndex(
int zIndex) → Future< bool> - 更新z轴方向上的堆叠顺序