\hypertarget{interface_b_m_k_gradient_line_view}{}\doxysection{B\+M\+K\+Gradient\+Line\+View类 参考}
\label{interface_b_m_k_gradient_line_view}\index{BMKGradientLineView@{BMKGradientLineView}}


此类用于定义一个颜色渐变线\+View since 6.\+4.\+0  




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

类 B\+M\+K\+Gradient\+Line\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{interface_b_m_k_gradient_line_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_gradient_line_view_abe0c6d0ee1972599e45082725b16e80e}{init\+With\+Gradient\+Line\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_gradient_line}{B\+M\+K\+Gradient\+Line}} $\ast$ \mbox{\hyperlink{interface_b_m_k_gradient_line_view_a354d500cb8922cf897cc08adfdec809c}{gradient\+Line}}
\begin{DoxyCompactList}\small\item\em 该\+View对应的颜色渐变线数据对象 \end{DoxyCompactList}\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_gradient_line_view_ae1a008a5d42b072825423f20e690523e}{stroke\+Colors}}
\begin{DoxyCompactList}\small\item\em 渐变颜色数组 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_gradient_line_view_a56a360f6df437f683b1497555f8ca674}{is\+Clickable}}
\begin{DoxyCompactList}\small\item\em 是否可点击，默认\+Y\+ES \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_gradient_line_view_ac6c15a02aad9ccc4bc05eca163ef12cc}{line\+Bloom\+Mode}}
\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_gradient_line_view_ace6d2ba93c8c785727d3b79e5fd8164e}{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_gradient_line_view_af87867a47e36b899e12a6d4399050276}{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_gradient_line_view_a157f86df3c72a2b15b2569dc61db0917}{line\+Bloom\+Gradient\+A\+S\+Peed}}
\item 
int \mbox{\hyperlink{interface_b_m_k_gradient_line_view_a31b6dc8f9837359912c4c4c5a2b6bdb2}{line\+Bloom\+Blur\+Times}}
\item 
\mbox{\hyperlink{_b_m_k_line_draw_type_8h_af1def0942c2d0f8659538b71f561479a}{B\+M\+K\+Line\+Bloom\+Direction}} \mbox{\hyperlink{interface_b_m_k_gradient_line_view_a51c6145448286722a2aada99eac5d588}{line\+Bloom\+Direction}}
\begin{DoxyCompactList}\small\item\em 默认向两侧发光，k\+B\+M\+K\+Line\+Bloom\+Direction\+Around； since 6.\+6.\+3 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{额外继承的成员函数}


\doxysubsection{详细描述}
此类用于定义一个颜色渐变线\+View since 6.\+4.\+0 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_gradient_line_view_abe0c6d0ee1972599e45082725b16e80e}\label{interface_b_m_k_gradient_line_view_abe0c6d0ee1972599e45082725b16e80e}} 
\index{BMKGradientLineView@{BMKGradientLineView}!initWithGradientLine:@{initWithGradientLine:}}
\index{initWithGradientLine:@{initWithGradientLine:}!BMKGradientLineView@{BMKGradientLineView}}
\doxysubsubsection{\texorpdfstring{initWithGradientLine:}{initWithGradientLine:}}
{\footnotesize\ttfamily -\/ (nullable instancetype) init\+With\+Gradient\+Line\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_gradient_line}{B\+M\+K\+Gradient\+Line}} $\ast$)}]{gradient\+Line }\end{DoxyParamCaption}}

根据指定的颜色渐变线生成一个颜色渐变线\+View 
\begin{DoxyParams}{参数}
{\em gradient\+Line} & 指定的颜色渐变线数据对象 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的颜色渐变线\+View 
\end{DoxyReturn}


\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_gradient_line_view_a354d500cb8922cf897cc08adfdec809c}\label{interface_b_m_k_gradient_line_view_a354d500cb8922cf897cc08adfdec809c}} 
\index{BMKGradientLineView@{BMKGradientLineView}!gradientLine@{gradientLine}}
\index{gradientLine@{gradientLine}!BMKGradientLineView@{BMKGradientLineView}}
\doxysubsubsection{\texorpdfstring{gradientLine}{gradientLine}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_gradient_line}{B\+M\+K\+Gradient\+Line}}$\ast$) gradient\+Line\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



该\+View对应的颜色渐变线数据对象 

\mbox{\Hypertarget{interface_b_m_k_gradient_line_view_a56a360f6df437f683b1497555f8ca674}\label{interface_b_m_k_gradient_line_view_a56a360f6df437f683b1497555f8ca674}} 
\index{BMKGradientLineView@{BMKGradientLineView}!isClickable@{isClickable}}
\index{isClickable@{isClickable}!BMKGradientLineView@{BMKGradientLineView}}
\doxysubsubsection{\texorpdfstring{isClickable}{isClickable}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Clickable\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否可点击，默认\+Y\+ES 

\mbox{\Hypertarget{interface_b_m_k_gradient_line_view_af87867a47e36b899e12a6d4399050276}\label{interface_b_m_k_gradient_line_view_af87867a47e36b899e12a6d4399050276}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomAlpha@{lineBloomAlpha}}
\index{lineBloomAlpha@{lineBloomAlpha}!BMKGradientLineView@{BMKGradientLineView}}
\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_gradient_line_view_a31b6dc8f9837359912c4c4c5a2b6bdb2}\label{interface_b_m_k_gradient_line_view_a31b6dc8f9837359912c4c4c5a2b6bdb2}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomBlurTimes@{lineBloomBlurTimes}}
\index{lineBloomBlurTimes@{lineBloomBlurTimes}!BMKGradientLineView@{BMKGradientLineView}}
\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 注意：模糊发光模式下该属性生效，since 6.\+5.\+9可以替代渐变发光模式的line\+Bloom\+Gradient\+A\+S\+Peed效果 \mbox{\Hypertarget{interface_b_m_k_gradient_line_view_a51c6145448286722a2aada99eac5d588}\label{interface_b_m_k_gradient_line_view_a51c6145448286722a2aada99eac5d588}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomDirection@{lineBloomDirection}}
\index{lineBloomDirection@{lineBloomDirection}!BMKGradientLineView@{BMKGradientLineView}}
\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_gradient_line_view_a157f86df3c72a2b15b2569dc61db0917}\label{interface_b_m_k_gradient_line_view_a157f86df3c72a2b15b2569dc61db0917}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomGradientASPeed@{lineBloomGradientASPeed}}
\index{lineBloomGradientASPeed@{lineBloomGradientASPeed}!BMKGradientLineView@{BMKGradientLineView}}
\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 注意：渐变发光模式下该属性生效，since 6.\+5.\+9暂不支持 \mbox{\Hypertarget{interface_b_m_k_gradient_line_view_ac6c15a02aad9ccc4bc05eca163ef12cc}\label{interface_b_m_k_gradient_line_view_ac6c15a02aad9ccc4bc05eca163ef12cc}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomMode@{lineBloomMode}}
\index{lineBloomMode@{lineBloomMode}!BMKGradientLineView@{BMKGradientLineView}}
\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_gradient_line_view_ace6d2ba93c8c785727d3b79e5fd8164e}\label{interface_b_m_k_gradient_line_view_ace6d2ba93c8c785727d3b79e5fd8164e}} 
\index{BMKGradientLineView@{BMKGradientLineView}!lineBloomWidth@{lineBloomWidth}}
\index{lineBloomWidth@{lineBloomWidth}!BMKGradientLineView@{BMKGradientLineView}}
\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_gradient_line_view_ae1a008a5d42b072825423f20e690523e}\label{interface_b_m_k_gradient_line_view_ae1a008a5d42b072825423f20e690523e}} 
\index{BMKGradientLineView@{BMKGradientLineView}!strokeColors@{strokeColors}}
\index{strokeColors@{strokeColors}!BMKGradientLineView@{BMKGradientLineView}}
\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]}}



渐变颜色数组 



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