\hypertarget{interface_b_m_k_polygon_view}{}\doxysection{B\+M\+K\+Polygon\+View类 参考}
\label{interface_b_m_k_polygon_view}\index{BMKPolygonView@{BMKPolygonView}}


此类用于定义一个多边形\+View  




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

类 B\+M\+K\+Polygon\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{interface_b_m_k_polygon_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_polygon_view_ac5ef9bc4887f00c1345f16cfe944a07b}{init\+With\+Polygon\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_polygon}{B\+M\+K\+Polygon}} $\ast$ \mbox{\hyperlink{interface_b_m_k_polygon_view_afcb56ec12abe7a03236d732f63f555bd}{polygon}}
\begin{DoxyCompactList}\small\item\em 该\+View对应的多边形数据 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_polygon_view_a0335d5743533116f06cc4fd84929307a}{is\+Clickable}}
\begin{DoxyCompactList}\small\item\em 是否可点击，默认\+NO \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_polygon_view_a4f34c26b59dd5730880936db83378671}{is\+Hole\+Clickable}}
\begin{DoxyCompactList}\small\item\em 镂空区域是否可点击，默认\+N\+O：点中镂空区域时不触发该overlay的点击回调 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_polygon_view_a50faebe5c135c51f8d378f5c557b9af6}{hole\+Clicked\+Index}}
\begin{DoxyCompactList}\small\item\em is\+Hole\+Clickable为\+Y\+E\+S时，触发回调的镂空索引值，默认-\/1\+:点中的是非镂空区域;索引对应polygon.\+hollow\+Shapes,倒序遍历，即优先触发后添加的镂空 \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_polygon_view_a5b274d5da4c51d810866a5c765cd83e4}{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_polygon_view_a21603ffb8115e8c38d813ed833e845d8}{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_polygon_view_aee8e937b6b5c38fa801859d0c648294c}{line\+Bloom\+Width}}
\begin{DoxyCompactList}\small\item\em 发光处宽度，默认 0.\+0f；since 6.\+6.\+3 \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_polygon_view_ab50171dc9771fceb9c119edaf8a86c86}{line\+Bloom\+Alpha}}
\begin{DoxyCompactList}\small\item\em 发光处透明度，取值范围 \mbox{[}0 $\sim$ 255\mbox{]}，默认 255.\+0f；since 6.\+6.\+3 \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_polygon_view_a493d947910d082a3be9cd1163b9f0ef6}{line\+Bloom\+Gradient\+A\+S\+Peed}}
\item 
int \mbox{\hyperlink{interface_b_m_k_polygon_view_a31aebe8f20a5e9ef89da6d04bd3c8e7f}{line\+Bloom\+Blur\+Times}}
\end{DoxyCompactItemize}
\doxysubsection*{额外继承的成员函数}


\doxysubsection{详细描述}
此类用于定义一个多边形\+View 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_polygon_view_ac5ef9bc4887f00c1345f16cfe944a07b}\label{interface_b_m_k_polygon_view_ac5ef9bc4887f00c1345f16cfe944a07b}} 
\index{BMKPolygonView@{BMKPolygonView}!initWithPolygon:@{initWithPolygon:}}
\index{initWithPolygon:@{initWithPolygon:}!BMKPolygonView@{BMKPolygonView}}
\doxysubsubsection{\texorpdfstring{initWithPolygon:}{initWithPolygon:}}
{\footnotesize\ttfamily -\/ (nullable instancetype) init\+With\+Polygon\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_polygon}{B\+M\+K\+Polygon}} $\ast$)}]{polygon }\end{DoxyParamCaption}}

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


\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_polygon_view_a50faebe5c135c51f8d378f5c557b9af6}\label{interface_b_m_k_polygon_view_a50faebe5c135c51f8d378f5c557b9af6}} 
\index{BMKPolygonView@{BMKPolygonView}!holeClickedIndex@{holeClickedIndex}}
\index{holeClickedIndex@{holeClickedIndex}!BMKPolygonView@{BMKPolygonView}}
\doxysubsubsection{\texorpdfstring{holeClickedIndex}{holeClickedIndex}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) hole\+Clicked\+Index\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



is\+Hole\+Clickable为\+Y\+E\+S时，触发回调的镂空索引值，默认-\/1\+:点中的是非镂空区域;索引对应polygon.\+hollow\+Shapes,倒序遍历，即优先触发后添加的镂空 

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



是否可点击，默认\+NO 

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



镂空区域是否可点击，默认\+N\+O：点中镂空区域时不触发该overlay的点击回调 

\mbox{\Hypertarget{interface_b_m_k_polygon_view_ab50171dc9771fceb9c119edaf8a86c86}\label{interface_b_m_k_polygon_view_ab50171dc9771fceb9c119edaf8a86c86}} 
\index{BMKPolygonView@{BMKPolygonView}!lineBloomAlpha@{lineBloomAlpha}}
\index{lineBloomAlpha@{lineBloomAlpha}!BMKPolygonView@{BMKPolygonView}}
\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.\+6.\+3 

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

模糊次数 since 6.\+6.\+3 取值范围 \mbox{[}1$\sim$10\mbox{]}，默认值为 1 注意：模糊发光模式下该属性生效 \mbox{\Hypertarget{interface_b_m_k_polygon_view_a21603ffb8115e8c38d813ed833e845d8}\label{interface_b_m_k_polygon_view_a21603ffb8115e8c38d813ed833e845d8}} 
\index{BMKPolygonView@{BMKPolygonView}!lineBloomDirection@{lineBloomDirection}}
\index{lineBloomDirection@{lineBloomDirection}!BMKPolygonView@{BMKPolygonView}}
\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_polygon_view_a493d947910d082a3be9cd1163b9f0ef6}\label{interface_b_m_k_polygon_view_a493d947910d082a3be9cd1163b9f0ef6}} 
\index{BMKPolygonView@{BMKPolygonView}!lineBloomGradientASPeed@{lineBloomGradientASPeed}}
\index{lineBloomGradientASPeed@{lineBloomGradientASPeed}!BMKPolygonView@{BMKPolygonView}}
\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.\+6.\+3 取值范围 \mbox{[}1.\+0f $\sim$ 10.\+0f\mbox{]}，默认值为 5.\+0f 注意：渐变发光模式下该属性生效 \mbox{\Hypertarget{interface_b_m_k_polygon_view_a5b274d5da4c51d810866a5c765cd83e4}\label{interface_b_m_k_polygon_view_a5b274d5da4c51d810866a5c765cd83e4}} 
\index{BMKPolygonView@{BMKPolygonView}!lineBloomMode@{lineBloomMode}}
\index{lineBloomMode@{lineBloomMode}!BMKPolygonView@{BMKPolygonView}}
\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.\+6.\+3 默认不发光，k\+B\+M\+K\+Line\+Bloom\+Mode\+None \mbox{\Hypertarget{interface_b_m_k_polygon_view_aee8e937b6b5c38fa801859d0c648294c}\label{interface_b_m_k_polygon_view_aee8e937b6b5c38fa801859d0c648294c}} 
\index{BMKPolygonView@{BMKPolygonView}!lineBloomWidth@{lineBloomWidth}}
\index{lineBloomWidth@{lineBloomWidth}!BMKPolygonView@{BMKPolygonView}}
\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.\+6.\+3 

\mbox{\Hypertarget{interface_b_m_k_polygon_view_afcb56ec12abe7a03236d732f63f555bd}\label{interface_b_m_k_polygon_view_afcb56ec12abe7a03236d732f63f555bd}} 
\index{BMKPolygonView@{BMKPolygonView}!polygon@{polygon}}
\index{polygon@{polygon}!BMKPolygonView@{BMKPolygonView}}
\doxysubsubsection{\texorpdfstring{polygon}{polygon}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_polygon}{B\+M\+K\+Polygon}}$\ast$) polygon\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_polygon_view_8h}{B\+M\+K\+Polygon\+View.\+h}}\end{DoxyCompactItemize}
