\doxysection{BMKMulti\+Polyline类 参考}
\hypertarget{interface_b_m_k_multi_polyline}{}\label{interface_b_m_k_multi_polyline}\index{BMKMultiPolyline@{BMKMultiPolyline}}


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




{\ttfamily \#include $<$BMKMulti\+Polyline.\+h$>$}

类 BMKMulti\+Polyline 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=7.000000cm]{interface_b_m_k_multi_polyline}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_multi_polyline_a5106c06405d79e382bf8afbcb36a3889}{set\+Multi\+Polyline\+With\+Points\+:count\+:draw\+Indexs\+:}}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_multi_polyline_a9b7201dcf2b2bbcc196e36da5d659178}{set\+Multi\+Polyline\+With\+Coordinates\+:count\+:draw\+Indexs\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{interface_b_m_k_polyline}{BMKPolyline}}}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_a2ecddd8031417f947413d501c74cfe77}{set\+Polyline\+With\+Points\+:count\+:}}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_ab8c65a4a790e9e26403fc25efaafff21}{set\+Polyline\+With\+Coordinates\+:count\+:}}
\item 
(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*}texture\+Index) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_abdd303d6f86c658df7ee181ef810121b}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 颜色/纹理索引数组 \end{DoxyCompactList}\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_a7490258146d5f2d801408055d10fef48}{set\+Polyline\+With\+Points\+:count\+:texture\+Index\+:}}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_a0e5483af18eaa0888dce98d637c0d8f7}{set\+Polyline\+With\+Coordinates\+:count\+:texture\+Index\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{interface_b_m_k_multi_point}{BMKMulti\+Point}}}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_multi_point_a5d7b000029db5c7efb2230ccb980bc29}{get\+Coordinates\+:range\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a249e1b880f8ded8541a0fe59ef4abb12}{title}}
\begin{DoxyCompactList}\small\item\em 获取annotation标题 \end{DoxyCompactList}\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a62aea71f4631251330e8a6fc3d3bdf11}{subtitle}}
\begin{DoxyCompactList}\small\item\em 获取annotation副标题 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a86db1788af78d273e1e155d3aa3d978f}{set\+Coordinate\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}{intersects\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{类方法}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_multi_polyline_a55edbff9d7ee630f1849d81d81710724}{multi\+Polyline\+With\+Points\+:count\+:draw\+Indexs\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_multi_polyline_a18d0e42977ecfa0a311c7c9fc358de2e}{multi\+Polyline\+With\+Coordinates\+:count\+:draw\+Indexs\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{类方法 继承自 \mbox{\hyperlink{interface_b_m_k_polyline}{BMKPolyline}}}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_polyline_a8aea59de30e9c0411e4daf905b928ace}{polyline\+With\+Points\+:count\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_polyline_a8933726d55cf6ea64295e4794f7143f6}{polyline\+With\+Coordinates\+:count\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_polyline_a35b40b1afbcb642dfac1ec8f08d9306e}{polyline\+With\+Points\+:count\+:texture\+Index\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_polyline_a9478c3c0dcdb4580538bfdeac742dce4}{polyline\+With\+Coordinates\+:count\+:texture\+Index\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_multi_polyline_aa5dda9e5392a584e15095d96cf70cee4}{draw\+Indexs}}
\begin{DoxyCompactList}\small\item\em 颜色/纹理索引数组 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_polyline}{BMKPolyline}}}
\begin{DoxyCompactItemize}
\item 
BOOL \mbox{\hyperlink{interface_b_m_k_polyline_a5c22b4a2f0ec4457d1eb2843602db781}{is\+Thined}}
\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a0b59a2adc27823c38296bd0102876784}{BMKCoord\+Algorithm}} \mbox{\hyperlink{interface_b_m_k_polyline_a01ce72f404ad507ab4e3582841a92a9c}{thin}}
\item 
float \mbox{\hyperlink{interface_b_m_k_polyline_ab2b04c646842f47a92da8487e24c363f}{thin\+Factor}}
\begin{DoxyCompactList}\small\item\em 抽稀算法系数，默认4，since 6.\+6.\+3 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a0b59a2adc27823c38296bd0102876784}{BMKCoord\+Algorithm}} \mbox{\hyperlink{interface_b_m_k_polyline_ac1dc6931c89ac1ee4a1d791fc67ec9ad}{smooth}}
\item 
float \mbox{\hyperlink{interface_b_m_k_polyline_a95cdab4b1ad5c067fac69baa6d1b2162}{smooth\+Factor}}
\begin{DoxyCompactList}\small\item\em 平滑算法系数，默认16，since 6.\+6.\+3 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_map_animation}{BMKMap\+Animation}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_polyline_aa93272637cdb89b57ed1942398b300e3}{animation}}
\begin{DoxyCompactList}\small\item\em 轨迹动画，使用\+BMKMap\+Animation子类实现动画，支持\+BMKMap\+Alpha\+Animation，\+BMKMap\+Track\+Animation,since 6.\+6.\+3 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a58c6585d83ebee1308896ed6e5201037}{BMKLine\+Direction\+Cross180\+Type}} \mbox{\hyperlink{interface_b_m_k_polyline_a1a97b1183e6b1a55cd4140a78a7ed004}{line\+Direction\+Cross180}}
\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_multi_point}{BMKMulti\+Point}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_multi_point_aa810056a59644284eb13fca968124e0c}{points}}
\begin{DoxyCompactList}\small\item\em 坐标点数组 \end{DoxyCompactList}\item 
NSUInteger \mbox{\hyperlink{interface_b_m_k_multi_point_a717b76bf8c1c25ce7ae11c959fb4af9f}{point\+Count}}
\begin{DoxyCompactList}\small\item\em 坐标点的个数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_shape}{BMKShape}}}
\begin{DoxyCompactItemize}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_a64da6d2885114c0c2da35aa1ffec925d}{title}}
\begin{DoxyCompactList}\small\item\em 要显示的标题；注意：如果不设置title,无法点击annotation,也无法使用回调函数； \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_ae588ba39a27b52bcaed14d40e6494398}{subtitle}}
\begin{DoxyCompactList}\small\item\em 要显示的副标题 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_annotation-p_ab7ed7fd80fc518acf82cf0048490f9be}{coordinate}}
\begin{DoxyCompactList}\small\item\em 标注view中心坐标. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_overlay-p_a7a10d9dde65c9611e3b5279179a9d480}{coordinate}}
\begin{DoxyCompactList}\small\item\em 返回区域中心坐标. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 返回区域外接矩形 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{额外继承的成员函数}
\doxysubsection*{Protected 属性 继承自 \mbox{\hyperlink{interface_b_m_k_multi_point}{BMKMulti\+Point}}}
\begin{DoxyCompactItemize}
\item 
package \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_multi_point_a736d72334fd2ca7ae2108d9692d1107c}{\+\_\+points}}
\item 
NSUInteger \mbox{\hyperlink{interface_b_m_k_multi_point_a8cc584110411ad5f72fc5068ae123a32}{\+\_\+point\+Count}}
\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{interface_b_m_k_multi_point_a25b2435a2c10b3a22f6e7dc5bd064a52}{\+\_\+bounding\+Rect}}
\end{DoxyCompactItemize}


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

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_multi_polyline_a18d0e42977ecfa0a311c7c9fc358de2e}\label{interface_b_m_k_multi_polyline_a18d0e42977ecfa0a311c7c9fc358de2e} 
\index{BMKMultiPolyline@{BMKMultiPolyline}!multiPolylineWithCoordinates:count:drawIndexs:@{multiPolylineWithCoordinates:count:drawIndexs:}}
\index{multiPolylineWithCoordinates:count:drawIndexs:@{multiPolylineWithCoordinates:count:drawIndexs:}!BMKMultiPolyline@{BMKMultiPolyline}}
\doxysubsubsection{\texorpdfstring{multiPolylineWithCoordinates:count:drawIndexs:}{multiPolylineWithCoordinates:count:drawIndexs:}}
{\footnotesize\ttfamily + (nullable instancetype) multi\+Polyline\+With\+Coordinates\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*})}]{coords }\item[{count\+:(NSUInteger)}]{count }\item[{draw\+Indexs\+:(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{draw\+Indexs }\end{DoxyParamCaption}}

根据指定经纬度坐标点生成一段折线 分段纹理绘制：其对应的\+BMKMulti\+Texture\+Polyline\+View必须使用 texture\+Images 加载纹理图片； 分段颜色绘制：其对应的\+BMKMulti\+Color\+Polyline\+View必须设置stroke\+Colors属性 
\begin{DoxyParams}{参数}
{\em coords} & 指定的经纬度坐标点数组 \\
\hline
{\em count} & coords数组中坐标点的个数 \\
\hline
{\em draw\+Indexs} & 纹理索引数组（颜色索引数组），成员为\+NSNumber,且为非负数，负数按0处理 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线对象 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_multi_polyline_a55edbff9d7ee630f1849d81d81710724}\label{interface_b_m_k_multi_polyline_a55edbff9d7ee630f1849d81d81710724} 
\index{BMKMultiPolyline@{BMKMultiPolyline}!multiPolylineWithPoints:count:drawIndexs:@{multiPolylineWithPoints:count:drawIndexs:}}
\index{multiPolylineWithPoints:count:drawIndexs:@{multiPolylineWithPoints:count:drawIndexs:}!BMKMultiPolyline@{BMKMultiPolyline}}
\doxysubsubsection{\texorpdfstring{multiPolylineWithPoints:count:drawIndexs:}{multiPolylineWithPoints:count:drawIndexs:}}
{\footnotesize\ttfamily + (nullable instancetype) multi\+Polyline\+With\+Points\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*})}]{points }\item[{count\+:(NSUInteger)}]{count }\item[{draw\+Indexs\+:(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{draw\+Indexs }\end{DoxyParamCaption}}

根据指定直角坐标点生成一段折线 分段纹理绘制/分段颜色绘制，根据指定坐标点生成一段折线 分段纹理绘制：其对应的\+BMKMulti\+Texture\+Polyline\+View必须使用 texture\+Images 加载纹理图片； 分段颜色绘制：其对应的\+BMKMulti\+Color\+Polyline\+View必须设置stroke\+Colors属性 
\begin{DoxyParams}{参数}
{\em points} & 指定的直角坐标点数组 \\
\hline
{\em count} & points数组中坐标点的个数 \\
\hline
{\em draw\+Indexs} & 纹理索引数组（颜色索引数组），成员为\+NSNumber,且为非负数，负数按0处理 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线对象 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_multi_polyline_a9b7201dcf2b2bbcc196e36da5d659178}\label{interface_b_m_k_multi_polyline_a9b7201dcf2b2bbcc196e36da5d659178} 
\index{BMKMultiPolyline@{BMKMultiPolyline}!setMultiPolylineWithCoordinates:count:drawIndexs:@{setMultiPolylineWithCoordinates:count:drawIndexs:}}
\index{setMultiPolylineWithCoordinates:count:drawIndexs:@{setMultiPolylineWithCoordinates:count:drawIndexs:}!BMKMultiPolyline@{BMKMultiPolyline}}
\doxysubsubsection{\texorpdfstring{setMultiPolylineWithCoordinates:count:drawIndexs:}{setMultiPolylineWithCoordinates:count:drawIndexs:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Multi\+Polyline\+With\+Coordinates\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*})}]{coords }\item[{count\+:(NSUInteger)}]{count }\item[{draw\+Indexs\+:(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{draw\+Indexs }\end{DoxyParamCaption}}

重新设置折线经纬度 和 纹理索引 
\begin{DoxyParams}{参数}
{\em coords} & 指定的经纬度坐标点数组 \\
\hline
{\em count} & coords数组中坐标点的个数 \\
\hline
{\em draw\+Indexs} & 纹理索引数组（颜色索引数组），成员为\+NSNumber,且为非负数，负数按0处理 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_multi_polyline_a5106c06405d79e382bf8afbcb36a3889}\label{interface_b_m_k_multi_polyline_a5106c06405d79e382bf8afbcb36a3889} 
\index{BMKMultiPolyline@{BMKMultiPolyline}!setMultiPolylineWithPoints:count:drawIndexs:@{setMultiPolylineWithPoints:count:drawIndexs:}}
\index{setMultiPolylineWithPoints:count:drawIndexs:@{setMultiPolylineWithPoints:count:drawIndexs:}!BMKMultiPolyline@{BMKMultiPolyline}}
\doxysubsubsection{\texorpdfstring{setMultiPolylineWithPoints:count:drawIndexs:}{setMultiPolylineWithPoints:count:drawIndexs:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Multi\+Polyline\+With\+Points\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*})}]{points }\item[{count\+:(NSUInteger)}]{count }\item[{draw\+Indexs\+:(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{draw\+Indexs }\end{DoxyParamCaption}}

重新设置折线坐标点 和 纹理索引 
\begin{DoxyParams}{参数}
{\em points} & 指定的直角坐标点数组 \\
\hline
{\em count} & points数组中坐标点的个数 \\
\hline
{\em draw\+Indexs} & 纹理索引数组（颜色索引数组），成员为\+NSNumber,且为非负数，负数按0处理 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}


\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_multi_polyline_aa5dda9e5392a584e15095d96cf70cee4}\label{interface_b_m_k_multi_polyline_aa5dda9e5392a584e15095d96cf70cee4} 
\index{BMKMultiPolyline@{BMKMultiPolyline}!drawIndexs@{drawIndexs}}
\index{drawIndexs@{drawIndexs}!BMKMultiPolyline@{BMKMultiPolyline}}
\doxysubsubsection{\texorpdfstring{drawIndexs}{drawIndexs}}
{\footnotesize\ttfamily -\/ (NSArray$<$NSNumber \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*}) draw\+Indexs\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



颜色/纹理索引数组 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_multi_polyline_8h}{BMKMulti\+Polyline.\+h}}\end{DoxyCompactItemize}
