\doxysection{BMKBitmap\+Resource类 参考}
\hypertarget{interface_b_m_k_bitmap_resource}{}\label{interface_b_m_k_bitmap_resource}\index{BMKBitmapResource@{BMKBitmapResource}}


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

类 BMKBitmap\+Resource 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k_bitmap_resource}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_a964813ddea7debb6102ab7b09ac7a98f}{init\+With\+Image\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_a088acbad529e70d1c609be2bfd611017}{init\+With\+Pixel\+Data\+:img\+Width\+:img\+Height\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_af7027f43040d5947fc5d2059f2df086c}{init\+With\+Image\+Data\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_ace6b85d335fc809891ba9236ef0923b2}{init\+With9\+Patch\+Data\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_a4b0fce7499e9d1e5a744293d8791434e}{init\+With\+Image\+:cap\+Insets\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_ae32d92b84f7c04f247a9358be9c212d8}{init\+With\+Image\+:scale\+X\+:scale\+Y\+:fill\+Area\+:dpi\+Scale\+:}}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_bitmap_resource_a4cf52adc2d64ac56b94c85cf8f85acb1}{init\+With\+Data\+:scale\+X\+:scale\+Y\+:fill\+Area\+:dpi\+Scale\+:}}
\end{DoxyCompactItemize}


\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_bitmap_resource_ace6b85d335fc809891ba9236ef0923b2}\label{interface_b_m_k_bitmap_resource_ace6b85d335fc809891ba9236ef0923b2} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWith9PatchData:dpiScale:@{initWith9PatchData:dpiScale:}}
\index{initWith9PatchData:dpiScale:@{initWith9PatchData:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWith9PatchData:dpiScale:}{initWith9PatchData:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With9\+Patch\+Data\+: \begin{DoxyParamCaption}\item[{(NSData \texorpdfstring{$\ast$}{*})}]{data }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化「.9」图片资源 
\begin{DoxyParams}{参数}
{\em data} & 图片文件的字节 \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_a4cf52adc2d64ac56b94c85cf8f85acb1}\label{interface_b_m_k_bitmap_resource_a4cf52adc2d64ac56b94c85cf8f85acb1} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithData:scaleX:scaleY:fillArea:dpiScale:@{initWithData:scaleX:scaleY:fillArea:dpiScale:}}
\index{initWithData:scaleX:scaleY:fillArea:dpiScale:@{initWithData:scaleX:scaleY:fillArea:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithData:scaleX:scaleY:fillArea:dpiScale:}{initWithData:scaleX:scaleY:fillArea:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Data\+: \begin{DoxyParamCaption}\item[{(NSData \texorpdfstring{$\ast$}{*})}]{data }\item[{scale\+X\+:(NSArray \texorpdfstring{$\ast$}{*})}]{scalex }\item[{scale\+Y\+:(NSArray \texorpdfstring{$\ast$}{*})}]{scaley }\item[{fill\+Area\+:(NSArray \texorpdfstring{$\ast$}{*})}]{area }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em data} & 背景图片文件的字节 \\
\hline
{\em scalex} & 可缩放的\+X区域 (x1,x2) or (x1,x2,x3,x4) \\
\hline
{\em scaley} & 可缩放的\+Y区域 (y1,y2) or (y1,y2,y3,y4) \\
\hline
{\em area} & 「.9」的内容区域 (x1,x2,y1,y2) \\
\hline
{\em scale} & 使用原始图片的字节流，一般需要设置为\+YES \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_a4b0fce7499e9d1e5a744293d8791434e}\label{interface_b_m_k_bitmap_resource_a4b0fce7499e9d1e5a744293d8791434e} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithImage:capInsets:dpiScale:@{initWithImage:capInsets:dpiScale:}}
\index{initWithImage:capInsets:dpiScale:@{initWithImage:capInsets:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithImage:capInsets:dpiScale:}{initWithImage:capInsets:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Image\+: \begin{DoxyParamCaption}\item[{(UIImage \texorpdfstring{$\ast$}{*})}]{image }\item[{cap\+Insets\+:(UIEdge\+Insets)}]{cap\+Insets }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em image} & 背景图片 \\
\hline
{\em cap\+Insets} & 可缩放区域 \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_a964813ddea7debb6102ab7b09ac7a98f}\label{interface_b_m_k_bitmap_resource_a964813ddea7debb6102ab7b09ac7a98f} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithImage:dpiScale:@{initWithImage:dpiScale:}}
\index{initWithImage:dpiScale:@{initWithImage:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithImage:dpiScale:}{initWithImage:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Image\+: \begin{DoxyParamCaption}\item[{(UIImage \texorpdfstring{$\ast$}{*})}]{image }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em image} & 图片 \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_ae32d92b84f7c04f247a9358be9c212d8}\label{interface_b_m_k_bitmap_resource_ae32d92b84f7c04f247a9358be9c212d8} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithImage:scaleX:scaleY:fillArea:dpiScale:@{initWithImage:scaleX:scaleY:fillArea:dpiScale:}}
\index{initWithImage:scaleX:scaleY:fillArea:dpiScale:@{initWithImage:scaleX:scaleY:fillArea:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithImage:scaleX:scaleY:fillArea:dpiScale:}{initWithImage:scaleX:scaleY:fillArea:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Image\+: \begin{DoxyParamCaption}\item[{(UIImage \texorpdfstring{$\ast$}{*})}]{image }\item[{scale\+X\+:(NSArray \texorpdfstring{$\ast$}{*})}]{scalex }\item[{scale\+Y\+:(NSArray \texorpdfstring{$\ast$}{*})}]{scaley }\item[{fill\+Area\+:(UIEdge\+Insets)}]{area }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em image} & 背景图片 \\
\hline
{\em scalex} & 可缩放的\+X区域 (x1,x2) or (x1,x2,x3,x4) \\
\hline
{\em scaley} & 可缩放的\+Y区域 (y1,y2) or (y1,y2,y3,y4) \\
\hline
{\em area} & 「.9」的内容区域 (x1,x2,y1,y2) \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_af7027f43040d5947fc5d2059f2df086c}\label{interface_b_m_k_bitmap_resource_af7027f43040d5947fc5d2059f2df086c} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithImageData:dpiScale:@{initWithImageData:dpiScale:}}
\index{initWithImageData:dpiScale:@{initWithImageData:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithImageData:dpiScale:}{initWithImageData:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Image\+Data\+: \begin{DoxyParamCaption}\item[{(NSData \texorpdfstring{$\ast$}{*})}]{data }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em data} & 图片文件的字节 \\
\hline
\end{DoxyParams}
\Hypertarget{interface_b_m_k_bitmap_resource_a088acbad529e70d1c609be2bfd611017}\label{interface_b_m_k_bitmap_resource_a088acbad529e70d1c609be2bfd611017} 
\index{BMKBitmapResource@{BMKBitmapResource}!initWithPixelData:imgWidth:imgHeight:dpiScale:@{initWithPixelData:imgWidth:imgHeight:dpiScale:}}
\index{initWithPixelData:imgWidth:imgHeight:dpiScale:@{initWithPixelData:imgWidth:imgHeight:dpiScale:}!BMKBitmapResource@{BMKBitmapResource}}
\doxysubsubsection{\texorpdfstring{initWithPixelData:imgWidth:imgHeight:dpiScale:}{initWithPixelData:imgWidth:imgHeight:dpiScale:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Pixel\+Data\+: \begin{DoxyParamCaption}\item[{(Byte \texorpdfstring{$\ast$}{*})}]{rgba\+Pixels }\item[{img\+Width\+:(int)}]{width }\item[{img\+Height\+:(int)}]{height }\item[{dpi\+Scale\+:(BOOL)}]{scale }\end{DoxyParamCaption}}

初始化图片资源 
\begin{DoxyParams}{参数}
{\em rgba\+Pixels} & 像素 \\
\hline
{\em width} & 图片宽度 \\
\hline
{\em height} & 图片高度 \\
\hline
\end{DoxyParams}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_drawable_resource_8h}{BMKDrawable\+Resource.\+h}}\end{DoxyCompactItemize}
