\doxysection{BMKPolyline类 参考}
\hypertarget{interface_b_m_k_polyline}{}\label{interface_b_m_k_polyline}\index{BMKPolyline@{BMKPolyline}}


此类用于定义一段折线  




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

类 BMKPolyline 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=7.000000cm]{interface_b_m_k_polyline}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\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_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 
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{详细描述}
此类用于定义一段折线 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_polyline_abdd303d6f86c658df7ee181ef810121b}\label{interface_b_m_k_polyline_abdd303d6f86c658df7ee181ef810121b} 
\index{BMKPolyline@{BMKPolyline}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}}
{\footnotesize\ttfamily -\/ (NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*}texture\+Index) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{("{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+BMKMulti\+Polyline中draw\+Indexs"{})}]{ }\end{DoxyParamCaption}}



颜色/纹理索引数组 

注意：since 6.\+5.\+0 绘制多颜色/多纹理折线请使用\+BMKMulti\+Polyline 以下接口自6.5.\+0起不在维护 \Hypertarget{interface_b_m_k_polyline_a8933726d55cf6ea64295e4794f7143f6}\label{interface_b_m_k_polyline_a8933726d55cf6ea64295e4794f7143f6} 
\index{BMKPolyline@{BMKPolyline}!polylineWithCoordinates:count:@{polylineWithCoordinates:count:}}
\index{polylineWithCoordinates:count:@{polylineWithCoordinates:count:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{polylineWithCoordinates:count:}{polylineWithCoordinates:count:}}
{\footnotesize\ttfamily + (nullable instancetype) polyline\+With\+Coordinates\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*})}]{coords }\item[{count\+:(NSUInteger)}]{count }\end{DoxyParamCaption}}

根据指定坐标点生成一段折线 
\begin{DoxyParams}{参数}
{\em coords} & 指定的经纬度坐标点数组 \\
\hline
{\em count} & coords数组中坐标点的个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线对象 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_polyline_a9478c3c0dcdb4580538bfdeac742dce4}\label{interface_b_m_k_polyline_a9478c3c0dcdb4580538bfdeac742dce4} 
\index{BMKPolyline@{BMKPolyline}!polylineWithCoordinates:count:textureIndex:@{polylineWithCoordinates:count:textureIndex:}}
\index{polylineWithCoordinates:count:textureIndex:@{polylineWithCoordinates:count:textureIndex:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{polylineWithCoordinates:count:textureIndex:}{polylineWithCoordinates:count:textureIndex:}}
{\footnotesize\ttfamily + (nullable instancetype) polyline\+With\+Coordinates\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*})}]{coords }\item[{count\+:(NSUInteger)}]{count }\item[{texture\+Index\+:("{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+BMKMulti\+Polyline中multi\+Polyline\+With\+Coordinates\+:count\+:draw\+Indexs\+:替换"{})}]{\+\_\+\+\_\+deprecated\+\_\+msg }\end{DoxyParamCaption}}

根据指定坐标点生成一段折线 分段纹理绘制：其对应的\+BMKPolyline\+View必须使用 -\/ (BOOL)load\+Stroke\+Texture\+Images\+:(\+NSArray $<$\+UIImage \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*})texture\+Images; 加载纹理图片；否则使用默认的灰色纹理绘制 分段颜色绘制：其对应的\+BMKPolyline\+View必须设置colors属性 
\begin{DoxyParams}{参数}
{\em coords} & 指定的经纬度坐标点数组 \\
\hline
{\em count} & coords数组中坐标点的个数 \\
\hline
{\em texture\+Index} & 纹理索引数组（颜色索引数组），成员为\+NSNumber,且为非负数，负数按0处理 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线对象 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_polyline_a8aea59de30e9c0411e4daf905b928ace}\label{interface_b_m_k_polyline_a8aea59de30e9c0411e4daf905b928ace} 
\index{BMKPolyline@{BMKPolyline}!polylineWithPoints:count:@{polylineWithPoints:count:}}
\index{polylineWithPoints:count:@{polylineWithPoints:count:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{polylineWithPoints:count:}{polylineWithPoints:count:}}
{\footnotesize\ttfamily + (nullable instancetype) polyline\+With\+Points\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*})}]{points }\item[{count\+:(NSUInteger)}]{count }\end{DoxyParamCaption}}

根据指定坐标点生成一段折线 
\begin{DoxyParams}{参数}
{\em points} & 指定的直角坐标点数组 \\
\hline
{\em count} & points数组中坐标点的个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线对象 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_polyline_a35b40b1afbcb642dfac1ec8f08d9306e}\label{interface_b_m_k_polyline_a35b40b1afbcb642dfac1ec8f08d9306e} 
\index{BMKPolyline@{BMKPolyline}!polylineWithPoints:count:textureIndex:@{polylineWithPoints:count:textureIndex:}}
\index{polylineWithPoints:count:textureIndex:@{polylineWithPoints:count:textureIndex:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{polylineWithPoints:count:textureIndex:}{polylineWithPoints:count:textureIndex:}}
{\footnotesize\ttfamily + (nullable instancetype) polyline\+With\+Points\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*})}]{points }\item[{count\+:(NSUInteger)}]{count }\item[{texture\+Index\+:("{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+BMKMulti\+Polyline中multi\+Polyline\+With\+Points\+:count\+:draw\+Indexs\+:替换"{})}]{\+\_\+\+\_\+deprecated\+\_\+msg }\end{DoxyParamCaption}}

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

重新设置折线坐标点 
\begin{DoxyParams}{参数}
{\em coords} & 指定的经纬度坐标点数组 \\
\hline
{\em count} & coords数组中坐标点的个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_polyline_a0e5483af18eaa0888dce98d637c0d8f7}\label{interface_b_m_k_polyline_a0e5483af18eaa0888dce98d637c0d8f7} 
\index{BMKPolyline@{BMKPolyline}!setPolylineWithCoordinates:count:textureIndex:@{setPolylineWithCoordinates:count:textureIndex:}}
\index{setPolylineWithCoordinates:count:textureIndex:@{setPolylineWithCoordinates:count:textureIndex:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{setPolylineWithCoordinates:count:textureIndex:}{setPolylineWithCoordinates:count:textureIndex:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Polyline\+With\+Coordinates\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*})}]{coords }\item[{count\+:(NSUInteger)}]{count }\item[{texture\+Index\+:("{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+BMKMulti\+Polyline中set\+Multi\+Polyline\+With\+Coordinates\+:count\+:draw\+Indexs\+:替换"{})}]{\+\_\+\+\_\+deprecated\+\_\+msg }\end{DoxyParamCaption}}

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

重新设置折线坐标点 
\begin{DoxyParams}{参数}
{\em points} & 指定的直角坐标点数组 \\
\hline
{\em count} & points数组中坐标点的个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_polyline_a7490258146d5f2d801408055d10fef48}\label{interface_b_m_k_polyline_a7490258146d5f2d801408055d10fef48} 
\index{BMKPolyline@{BMKPolyline}!setPolylineWithPoints:count:textureIndex:@{setPolylineWithPoints:count:textureIndex:}}
\index{setPolylineWithPoints:count:textureIndex:@{setPolylineWithPoints:count:textureIndex:}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{setPolylineWithPoints:count:textureIndex:}{setPolylineWithPoints:count:textureIndex:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Polyline\+With\+Points\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*})}]{points }\item[{count\+:(NSUInteger)}]{count }\item[{texture\+Index\+:("{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+BMKMulti\+Polyline中set\+Multi\+Polyline\+With\+Points\+:count\+:draw\+Indexs\+:替换"{})}]{\+\_\+\+\_\+deprecated\+\_\+msg }\end{DoxyParamCaption}}

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


\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_polyline_aa93272637cdb89b57ed1942398b300e3}\label{interface_b_m_k_polyline_aa93272637cdb89b57ed1942398b300e3} 
\index{BMKPolyline@{BMKPolyline}!animation@{animation}}
\index{animation@{animation}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{animation}{animation}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_map_animation}{BMKMap\+Animation}}\texorpdfstring{$\ast$}{*}) animation\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



轨迹动画，使用\+BMKMap\+Animation子类实现动画，支持\+BMKMap\+Alpha\+Animation，\+BMKMap\+Track\+Animation,since 6.\+6.\+3 

\Hypertarget{interface_b_m_k_polyline_a5c22b4a2f0ec4457d1eb2843602db781}\label{interface_b_m_k_polyline_a5c22b4a2f0ec4457d1eb2843602db781} 
\index{BMKPolyline@{BMKPolyline}!isThined@{isThined}}
\index{isThined@{isThined}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{isThined}{isThined}}
{\footnotesize\ttfamily -\/ (BOOL) is\+Thined\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

是否需要对\+Polyline坐标数据进行抽稀，默认为\+YES since 5.\+3.\+0 \Hypertarget{interface_b_m_k_polyline_a1a97b1183e6b1a55cd4140a78a7ed004}\label{interface_b_m_k_polyline_a1a97b1183e6b1a55cd4140a78a7ed004} 
\index{BMKPolyline@{BMKPolyline}!lineDirectionCross180@{lineDirectionCross180}}
\index{lineDirectionCross180@{lineDirectionCross180}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{lineDirectionCross180}{lineDirectionCross180}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a58c6585d83ebee1308896ed6e5201037}{BMKLine\+Direction\+Cross180\+Type}}) line\+Direction\+Cross180\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

折线经度跨180所需字段 since 6.\+3.\+0 不跨180为k\+BMKLine\+Direction\+Cross180\+Type\+None， 从东往西为k\+BMKLine\+Direction\+Cross180\+Type\+EAST\+\_\+\+TO\+\_\+\+WEST 从西往东为k\+BMKLine\+Direction\+Cross180\+Type\+WEST\+\_\+\+TO\+\_\+\+EAST 默认k\+BMKLine\+Direction\+Cross180\+Type\+None \Hypertarget{interface_b_m_k_polyline_ac1dc6931c89ac1ee4a1d791fc67ec9ad}\label{interface_b_m_k_polyline_ac1dc6931c89ac1ee4a1d791fc67ec9ad} 
\index{BMKPolyline@{BMKPolyline}!smooth@{smooth}}
\index{smooth@{smooth}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{smooth}{smooth}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a0b59a2adc27823c38296bd0102876784}{BMKCoord\+Algorithm}}) smooth\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

是否需要对\+Polyline坐标数据进行平滑算法处理，默认为k\+BMKAlgorithm\+None，可设置k\+BMKBezier\+Smooth Bezier平滑 since 6.\+6.\+3 \Hypertarget{interface_b_m_k_polyline_a95cdab4b1ad5c067fac69baa6d1b2162}\label{interface_b_m_k_polyline_a95cdab4b1ad5c067fac69baa6d1b2162} 
\index{BMKPolyline@{BMKPolyline}!smoothFactor@{smoothFactor}}
\index{smoothFactor@{smoothFactor}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{smoothFactor}{smoothFactor}}
{\footnotesize\ttfamily -\/ (float) smooth\+Factor\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



平滑算法系数，默认16，since 6.\+6.\+3 

\Hypertarget{interface_b_m_k_polyline_a01ce72f404ad507ab4e3582841a92a9c}\label{interface_b_m_k_polyline_a01ce72f404ad507ab4e3582841a92a9c} 
\index{BMKPolyline@{BMKPolyline}!thin@{thin}}
\index{thin@{thin}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{thin}{thin}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_a0b59a2adc27823c38296bd0102876784}{BMKCoord\+Algorithm}}) thin\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

是否需要对\+Polyline坐标数据进行抽稀算法处理，默认为k\+BMKDouglas\+Peucker，对齐is\+Thined默认为\+YES，可设置k\+BMKDouglas\+Peucker 道格拉斯抽稀 since 6.\+6.\+3 \Hypertarget{interface_b_m_k_polyline_ab2b04c646842f47a92da8487e24c363f}\label{interface_b_m_k_polyline_ab2b04c646842f47a92da8487e24c363f} 
\index{BMKPolyline@{BMKPolyline}!thinFactor@{thinFactor}}
\index{thinFactor@{thinFactor}!BMKPolyline@{BMKPolyline}}
\doxysubsubsection{\texorpdfstring{thinFactor}{thinFactor}}
{\footnotesize\ttfamily -\/ (float) thin\+Factor\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



抽稀算法系数，默认4，since 6.\+6.\+3 



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