\doxysection{BMKGradient类 参考}
\hypertarget{interface_b_m_k_gradient}{}\label{interface_b_m_k_gradient}\index{BMKGradient@{BMKGradient}}


此类表示热力图渐变色  




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

类 BMKGradient 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_gradient}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\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}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
NSArray$<$ UIColor \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_gradient_a90452a2ea3072ae275cbab66d4745e1c}{m\+Colors}}
\begin{DoxyCompactList}\small\item\em 渐变色用到的所有颜色数组,数组成员类型为\+UIColor,默认值\mbox{[}0x0000c8,0x00e100,0xff0000\mbox{]} \end{DoxyCompactList}\item 
NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_gradient_a2f8283bd055e1bf1ee61fa59076456b2}{m\+Start\+Points}}
\end{DoxyCompactItemize}


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

\doxysubsection{函数文档}
\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[{(NSArray$<$ UIColor \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{colors }\item[{start\+Points\+:(NSArray$<$ NSNumber \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*})}]{start\+Points }\end{DoxyParamCaption}}



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



\doxysubsection{属性说明}
\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 -\/ (NSArray$<$UIColor \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*}) m\+Colors\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



渐变色用到的所有颜色数组,数组成员类型为\+UIColor,默认值\mbox{[}0x0000c8,0x00e100,0xff0000\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 -\/ (NSArray$<$NSNumber \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\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\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_gradient_8h}{BMKGradient.\+h}}\end{DoxyCompactItemize}
