\hypertarget{interface_b_m_k_polyline_view}{}\doxysection{B\+M\+K\+Polyline\+View类 参考}
\label{interface_b_m_k_polyline_view}\index{BMKPolylineView@{BMKPolylineView}}


此类用于定义一个折线\+View  




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

类 B\+M\+K\+Polyline\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=6.000000cm]{interface_b_m_k_polyline_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_view_a0ae6cf33ec250b38ca5a863bbd85623b}{init\+With\+Polyline\+:}}
\item 
(B\+O\+OL is\+Focus) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_view_ad1e1161c8e4816be52b3d77140c89db5}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 是否分段纹理/分段颜色绘制（突出显示），默认\+Y\+E\+S，\+Y\+ES\+:使用分段纹理绘制 NO\+:使用默认的灰色纹理绘制 \end{DoxyCompactList}\item 
(N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$colors) -\/ \mbox{\hyperlink{interface_b_m_k_polyline_view_a363aec61842bb2b33452b9d43dd6b45d}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_polyline}{B\+M\+K\+Polyline}} $\ast$ \mbox{\hyperlink{interface_b_m_k_polyline_view_a780ecfc589530cc4514e790422730e5f}{polyline}}
\begin{DoxyCompactList}\small\item\em 该\+View对应的折线数据对象 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ab81d68393c69d60d6d0d10ea0f2fe9f6}{B\+M\+K\+Line\+Join\+Type}} \mbox{\hyperlink{interface_b_m_k_polyline_view_a5fbf43469061b133845db131dbe5c727}{line\+Join\+Type}}
\begin{DoxyCompactList}\small\item\em Line\+Join\+Type，默认是k\+B\+M\+K\+Line\+Join\+Bevel（不支持虚线） \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ad0fa88ba354e5bb723386f5be683c428}{B\+M\+K\+Line\+Cap\+Type}} \mbox{\hyperlink{interface_b_m_k_polyline_view_a95c8431319d0aaca43755604ef4e9ec7}{line\+Cap\+Type}}
\begin{DoxyCompactList}\small\item\em Line\+Cap\+Type，默认是k\+B\+M\+K\+Line\+Cap\+Butt (不支持虚线) \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_polyline_view_ad9ca484ac18e98e57d1a8563793d2b77}{is\+Clickable}}
\begin{DoxyCompactList}\small\item\em 是否可点击，默认\+Y\+E\+S；since 6.\+5.\+7 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ae186b6df16296cd212b551b6f7ddff8d}{B\+M\+K\+Line\+Bloom\+Mode}} \mbox{\hyperlink{interface_b_m_k_polyline_view_ac428756a246a9b0107b4abe73cf3c8e5}{line\+Bloom\+Mode}}
\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_af1def0942c2d0f8659538b71f561479a}{B\+M\+K\+Line\+Bloom\+Direction}} \mbox{\hyperlink{interface_b_m_k_polyline_view_a563d1837c92114b93ebd85691181f8e9}{line\+Bloom\+Direction}}
\begin{DoxyCompactList}\small\item\em 默认向两侧发光，k\+B\+M\+K\+Line\+Bloom\+Direction\+Around； since 6.\+6.\+3 \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_polyline_view_a567571173b3783025724784f313ee995}{line\+Bloom\+Width}}
\begin{DoxyCompactList}\small\item\em 发光处宽度，默认 0.\+0f；since 6.\+5.\+7 \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_polyline_view_a0a74461274d4ef5a5b5db33b9b0a6c0f}{line\+Bloom\+Alpha}}
\begin{DoxyCompactList}\small\item\em 发光处透明度，取值范围 \mbox{[}0 $\sim$ 255\mbox{]}，默认 255.\+0f；since 6.\+5.\+7 \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_polyline_view_adc5588cd9b3c5357ecb40232c2b92171}{line\+Bloom\+Gradient\+A\+S\+Peed}}
\item 
int \mbox{\hyperlink{interface_b_m_k_polyline_view_a9e9063a5a29a1266864cfda5974b6c5b}{line\+Bloom\+Blur\+Times}}
\end{DoxyCompactItemize}
\doxysubsection*{额外继承的成员函数}


\doxysubsection{详细描述}
此类用于定义一个折线\+View 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_polyline_view_ad1e1161c8e4816be52b3d77140c89db5}\label{interface_b_m_k_polyline_view_ad1e1161c8e4816be52b3d77140c89db5}} 
\index{BMKPolylineView@{BMKPolylineView}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily -\/ (B\+O\+OL is\+Focus) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}已废弃since 5.\+0.\+0\char`\"{})}]{ }\end{DoxyParamCaption}}



是否分段纹理/分段颜色绘制（突出显示），默认\+Y\+E\+S，\+Y\+ES\+:使用分段纹理绘制 NO\+:使用默认的灰色纹理绘制 



实现了 \mbox{\hyperlink{interface_b_m_k_overlay_g_l_basic_view_a47654e5c635a45fd48c3bab009f6447e}{B\+M\+K\+Overlay\+G\+L\+Basic\+View}}.

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a363aec61842bb2b33452b9d43dd6b45d}\label{interface_b_m_k_polyline_view_a363aec61842bb2b33452b9d43dd6b45d}} 
\index{BMKPolylineView@{BMKPolylineView}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$ colors) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{(\char`\"{}已废弃since 6.\+5.)}]{0 }\item[{(请使用\+B\+M\+K\+Multi\+Color\+Polyline\+View中stroke\+Colors\char`\"{})}]{ }\end{DoxyParamCaption}}

使用分段颜色绘制时，必须设置（内容必须为\+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_polyline_view_a0ae6cf33ec250b38ca5a863bbd85623b}\label{interface_b_m_k_polyline_view_a0ae6cf33ec250b38ca5a863bbd85623b}} 
\index{BMKPolylineView@{BMKPolylineView}!initWithPolyline:@{initWithPolyline:}}
\index{initWithPolyline:@{initWithPolyline:}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{initWithPolyline:}{initWithPolyline:}}
{\footnotesize\ttfamily -\/ (nullable instancetype) init\+With\+Polyline\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_polyline}{B\+M\+K\+Polyline}} $\ast$)}]{polyline }\end{DoxyParamCaption}}

根据指定的折线生成一个折线\+View 
\begin{DoxyParams}{参数}
{\em polyline} & 指定的折线数据对象 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的折线\+View 
\end{DoxyReturn}


\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_polyline_view_ad9ca484ac18e98e57d1a8563793d2b77}\label{interface_b_m_k_polyline_view_ad9ca484ac18e98e57d1a8563793d2b77}} 
\index{BMKPolylineView@{BMKPolylineView}!isClickable@{isClickable}}
\index{isClickable@{isClickable}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{isClickable}{isClickable}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Clickable\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否可点击，默认\+Y\+E\+S；since 6.\+5.\+7 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a0a74461274d4ef5a5b5db33b9b0a6c0f}\label{interface_b_m_k_polyline_view_a0a74461274d4ef5a5b5db33b9b0a6c0f}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomAlpha@{lineBloomAlpha}}
\index{lineBloomAlpha@{lineBloomAlpha}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomAlpha}{lineBloomAlpha}}
{\footnotesize\ttfamily -\/ (C\+G\+Float) line\+Bloom\+Alpha\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



发光处透明度，取值范围 \mbox{[}0 $\sim$ 255\mbox{]}，默认 255.\+0f；since 6.\+5.\+7 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a9e9063a5a29a1266864cfda5974b6c5b}\label{interface_b_m_k_polyline_view_a9e9063a5a29a1266864cfda5974b6c5b}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomBlurTimes@{lineBloomBlurTimes}}
\index{lineBloomBlurTimes@{lineBloomBlurTimes}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomBlurTimes}{lineBloomBlurTimes}}
{\footnotesize\ttfamily -\/ (int) line\+Bloom\+Blur\+Times\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

模糊次数 since 6.\+5.\+7 取值范围 \mbox{[}1$\sim$10\mbox{]}，默认值为 1 注意：模糊发光模式下该属性生效 \mbox{\Hypertarget{interface_b_m_k_polyline_view_a563d1837c92114b93ebd85691181f8e9}\label{interface_b_m_k_polyline_view_a563d1837c92114b93ebd85691181f8e9}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomDirection@{lineBloomDirection}}
\index{lineBloomDirection@{lineBloomDirection}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomDirection}{lineBloomDirection}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_af1def0942c2d0f8659538b71f561479a}{B\+M\+K\+Line\+Bloom\+Direction}}) line\+Bloom\+Direction\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认向两侧发光，k\+B\+M\+K\+Line\+Bloom\+Direction\+Around； since 6.\+6.\+3 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_adc5588cd9b3c5357ecb40232c2b92171}\label{interface_b_m_k_polyline_view_adc5588cd9b3c5357ecb40232c2b92171}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomGradientASPeed@{lineBloomGradientASPeed}}
\index{lineBloomGradientASPeed@{lineBloomGradientASPeed}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomGradientASPeed}{lineBloomGradientASPeed}}
{\footnotesize\ttfamily -\/ (C\+G\+Float) line\+Bloom\+Gradient\+A\+S\+Peed\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

透明度渐变速度 since 6.\+5.\+7 取值范围 \mbox{[}1.\+0f $\sim$ 10.\+0f\mbox{]}，默认值为 5.\+0f 注意：渐变发光模式下该属性生效 \mbox{\Hypertarget{interface_b_m_k_polyline_view_ac428756a246a9b0107b4abe73cf3c8e5}\label{interface_b_m_k_polyline_view_ac428756a246a9b0107b4abe73cf3c8e5}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomMode@{lineBloomMode}}
\index{lineBloomMode@{lineBloomMode}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomMode}{lineBloomMode}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ae186b6df16296cd212b551b6f7ddff8d}{B\+M\+K\+Line\+Bloom\+Mode}}) line\+Bloom\+Mode\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

发光模式，仅支持颜色实折线；since 6.\+5.\+7 默认不发光，k\+B\+M\+K\+Line\+Bloom\+Mode\+None \mbox{\Hypertarget{interface_b_m_k_polyline_view_a567571173b3783025724784f313ee995}\label{interface_b_m_k_polyline_view_a567571173b3783025724784f313ee995}} 
\index{BMKPolylineView@{BMKPolylineView}!lineBloomWidth@{lineBloomWidth}}
\index{lineBloomWidth@{lineBloomWidth}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineBloomWidth}{lineBloomWidth}}
{\footnotesize\ttfamily -\/ (C\+G\+Float) line\+Bloom\+Width\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



发光处宽度，默认 0.\+0f；since 6.\+5.\+7 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a95c8431319d0aaca43755604ef4e9ec7}\label{interface_b_m_k_polyline_view_a95c8431319d0aaca43755604ef4e9ec7}} 
\index{BMKPolylineView@{BMKPolylineView}!lineCapType@{lineCapType}}
\index{lineCapType@{lineCapType}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineCapType}{lineCapType}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ad0fa88ba354e5bb723386f5be683c428}{B\+M\+K\+Line\+Cap\+Type}}) line\+Cap\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



Line\+Cap\+Type，默认是k\+B\+M\+K\+Line\+Cap\+Butt (不支持虚线) 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a5fbf43469061b133845db131dbe5c727}\label{interface_b_m_k_polyline_view_a5fbf43469061b133845db131dbe5c727}} 
\index{BMKPolylineView@{BMKPolylineView}!lineJoinType@{lineJoinType}}
\index{lineJoinType@{lineJoinType}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{lineJoinType}{lineJoinType}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_line_draw_type_8h_ab81d68393c69d60d6d0d10ea0f2fe9f6}{B\+M\+K\+Line\+Join\+Type}}) line\+Join\+Type\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



Line\+Join\+Type，默认是k\+B\+M\+K\+Line\+Join\+Bevel（不支持虚线） 

\mbox{\Hypertarget{interface_b_m_k_polyline_view_a780ecfc589530cc4514e790422730e5f}\label{interface_b_m_k_polyline_view_a780ecfc589530cc4514e790422730e5f}} 
\index{BMKPolylineView@{BMKPolylineView}!polyline@{polyline}}
\index{polyline@{polyline}!BMKPolylineView@{BMKPolylineView}}
\doxysubsubsection{\texorpdfstring{polyline}{polyline}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_polyline}{B\+M\+K\+Polyline}}$\ast$) polyline\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



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



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