\hypertarget{interface_b_m_k_gradient}{}\doxysection{B\+M\+K\+Gradient类 参考}
\label{interface_b_m_k_gradient}\index{BMKGradient@{BMKGradient}}


此类表示热力图渐变色  




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

类 B\+M\+K\+Gradient 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_gradient}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_gradient_a413e4c622f930c938167d0abc8721afc}{init\+With\+Colors\+:start\+Points\+:}}
\begin{DoxyCompactList}\small\item\em 渐变色的初始化方法,使用默认color\+Map\+Size\+:1000进行初始化 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_gradient_a90452a2ea3072ae275cbab66d4745e1c}{m\+Colors}}
\begin{DoxyCompactList}\small\item\em 渐变色用到的所有颜色数组,数组成员类型为\+U\+I\+Color,默认值\mbox{[}0x0000c8,0x00e100,0xff0000\mbox{]} \end{DoxyCompactList}\item 
N\+S\+Array$<$ N\+S\+Number $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_gradient_a2f8283bd055e1bf1ee61fa59076456b2}{m\+Start\+Points}}
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
此类表示热力图渐变色 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_gradient_a413e4c622f930c938167d0abc8721afc}\label{interface_b_m_k_gradient_a413e4c622f930c938167d0abc8721afc}} 
\index{BMKGradient@{BMKGradient}!initWithColors:startPoints:@{initWithColors:startPoints:}}
\index{initWithColors:startPoints:@{initWithColors:startPoints:}!BMKGradient@{BMKGradient}}
\doxysubsubsection{\texorpdfstring{initWithColors:startPoints:}{initWithColors:startPoints:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Colors\+: \begin{DoxyParamCaption}\item[{(N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$)}]{colors }\item[{start\+Points\+:(N\+S\+Array$<$ N\+S\+Number $\ast$ $>$ $\ast$)}]{start\+Points }\end{DoxyParamCaption}}



渐变色的初始化方法,使用默认color\+Map\+Size\+:1000进行初始化 



\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_gradient_a90452a2ea3072ae275cbab66d4745e1c}\label{interface_b_m_k_gradient_a90452a2ea3072ae275cbab66d4745e1c}} 
\index{BMKGradient@{BMKGradient}!mColors@{mColors}}
\index{mColors@{mColors}!BMKGradient@{BMKGradient}}
\doxysubsubsection{\texorpdfstring{mColors}{mColors}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$) m\+Colors\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



渐变色用到的所有颜色数组,数组成员类型为\+U\+I\+Color,默认值\mbox{[}0x0000c8,0x00e100,0xff0000\mbox{]} 

\mbox{\Hypertarget{interface_b_m_k_gradient_a2f8283bd055e1bf1ee61fa59076456b2}\label{interface_b_m_k_gradient_a2f8283bd055e1bf1ee61fa59076456b2}} 
\index{BMKGradient@{BMKGradient}!mStartPoints@{mStartPoints}}
\index{mStartPoints@{mStartPoints}!BMKGradient@{BMKGradient}}
\doxysubsubsection{\texorpdfstring{mStartPoints}{mStartPoints}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$N\+S\+Number $\ast$$>$$\ast$) m\+Start\+Points\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}

每一个颜色的起始点数组,数组成员类型为 \mbox{[}0,1\mbox{]}的double值, given as a percentage of the maximum intensity,个数和m\+Colors的个数必须相同， 数组内元素必须时递增的,默认值\mbox{[}@0.\+08, @0.\+4, @1.\+0\mbox{]} 

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