\hypertarget{interface_b_m_k_multi_color_polyline_view}{}\doxysection{B\+M\+K\+Multi\+Color\+Polyline\+View类 参考}
\label{interface_b_m_k_multi_color_polyline_view}\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}


此文件定义分段多颜色折线\+View since 6.\+5.\+0  




{\ttfamily \#import $<$B\+M\+K\+Multi\+Color\+Polyline\+View.\+h$>$}

类 B\+M\+K\+Multi\+Color\+Polyline\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=6.000000cm]{interface_b_m_k_multi_color_polyline_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_multi_color_polyline_view_ad75a86c391ba643c84136542caf04342}{init\+With\+Multi\+Polyline\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_multi_polyline}{B\+M\+K\+Multi\+Polyline}} $\ast$ \mbox{\hyperlink{interface_b_m_k_multi_color_polyline_view_a9e0cd697e3bb096954750a218e7fcfe4}{multi\+Polyline}}
\begin{DoxyCompactList}\small\item\em 该\+View对应的折线数据对象 \end{DoxyCompactList}\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_multi_color_polyline_view_a8efe8e5a20082c56085e479e2c736148}{stroke\+Colors}}
\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_multi_color_polyline_view_a97addad5412abce70a07150ac4946fd8}{stroke\+Colors\+Progress\+Forward}}
\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_multi_color_polyline_view_a5669db40066a16d464aa8a0878f0ad25}{stroke\+Colors\+Progress\+Backward}}
\end{DoxyCompactItemize}
\doxysubsection*{额外继承的成员函数}


\doxysubsection{详细描述}
此文件定义分段多颜色折线\+View since 6.\+5.\+0 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_multi_color_polyline_view_ad75a86c391ba643c84136542caf04342}\label{interface_b_m_k_multi_color_polyline_view_ad75a86c391ba643c84136542caf04342}} 
\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}!initWithMultiPolyline:@{initWithMultiPolyline:}}
\index{initWithMultiPolyline:@{initWithMultiPolyline:}!BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}
\doxysubsubsection{\texorpdfstring{initWithMultiPolyline:}{initWithMultiPolyline:}}
{\footnotesize\ttfamily -\/ (nullable instancetype) init\+With\+Multi\+Polyline\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_multi_polyline}{B\+M\+K\+Multi\+Polyline}} $\ast$)}]{multi\+Polyline }\end{DoxyParamCaption}}

根据指定的折线生成一个分段多颜色折线\+View 
\begin{DoxyParams}{参数}
{\em multi\+Polyline} & 指定的折线数据对象 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线\+View 
\end{DoxyReturn}


\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_multi_color_polyline_view_a9e0cd697e3bb096954750a218e7fcfe4}\label{interface_b_m_k_multi_color_polyline_view_a9e0cd697e3bb096954750a218e7fcfe4}} 
\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}!multiPolyline@{multiPolyline}}
\index{multiPolyline@{multiPolyline}!BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}
\doxysubsubsection{\texorpdfstring{multiPolyline}{multiPolyline}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_multi_polyline}{B\+M\+K\+Multi\+Polyline}}$\ast$) multi\+Polyline\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



该\+View对应的折线数据对象 

\mbox{\Hypertarget{interface_b_m_k_multi_color_polyline_view_a8efe8e5a20082c56085e479e2c736148}\label{interface_b_m_k_multi_color_polyline_view_a8efe8e5a20082c56085e479e2c736148}} 
\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}!strokeColors@{strokeColors}}
\index{strokeColors@{strokeColors}!BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}
\doxysubsubsection{\texorpdfstring{strokeColors}{strokeColors}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$) stroke\+Colors\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

使用分段颜色绘制时，必须设置（内容必须为\+U\+I\+Color） 注：请使用 -\/ (U\+I\+Color $\ast$)init\+With\+Red\+:(\+C\+G\+Float)red green\+:(\+C\+G\+Float)green blue\+:(\+C\+G\+Float)blue alpha\+:(\+C\+G\+Float)alpha; 初始化\+U\+I\+Color。 使用\mbox{[}U\+I\+Color $\ast$$\ast$$\ast$\+Color\mbox{]}初始化时，个别case转换成\+R\+G\+B后会有问题 \mbox{\Hypertarget{interface_b_m_k_multi_color_polyline_view_a5669db40066a16d464aa8a0878f0ad25}\label{interface_b_m_k_multi_color_polyline_view_a5669db40066a16d464aa8a0878f0ad25}} 
\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}!strokeColorsProgressBackward@{strokeColorsProgressBackward}}
\index{strokeColorsProgressBackward@{strokeColorsProgressBackward}!BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}
\doxysubsubsection{\texorpdfstring{strokeColorsProgressBackward}{strokeColorsProgressBackward}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$) stroke\+Colors\+Progress\+Backward\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

当前进度之后的部分分段颜色绘制所需要的颜色数组，不设置时当前进度之后的路线不显示，轨迹动画化使用 since 6.\+6.\+3 必须\+U\+I\+Color数组 \mbox{\Hypertarget{interface_b_m_k_multi_color_polyline_view_a97addad5412abce70a07150ac4946fd8}\label{interface_b_m_k_multi_color_polyline_view_a97addad5412abce70a07150ac4946fd8}} 
\index{BMKMultiColorPolylineView@{BMKMultiColorPolylineView}!strokeColorsProgressForward@{strokeColorsProgressForward}}
\index{strokeColorsProgressForward@{strokeColorsProgressForward}!BMKMultiColorPolylineView@{BMKMultiColorPolylineView}}
\doxysubsubsection{\texorpdfstring{strokeColorsProgressForward}{strokeColorsProgressForward}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$) stroke\+Colors\+Progress\+Forward\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

当前进度之前的部分分段颜色绘制所需要的颜色数组，不设置时当前进度之前的路线不显示，轨迹动画化使用 since 6.\+6.\+3 必须\+U\+I\+Color数组 

该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+A\+P\+I\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_multi_color_polyline_view_8h}{B\+M\+K\+Multi\+Color\+Polyline\+View.\+h}}\end{DoxyCompactItemize}
