BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

构造函数 | 属性 | 所有成员列表
BMKBaseUIView类 参考

`#import <BMKBaseUIView.h>`

类 BMKBaseUIView 继承关系图:

## 构造函数
(void) | - setBackgroundImage:capInsets:
(void) | - setTarget:action:
| 点击事件，the action cannot be NULL. Note that the target is not retained. 更多...

## 属性
BMKVisibility | visibility
BMKOverlaySizeType | sizeType
int | width
int | height
BMKGravityType | gravity
UIEdgeInsets | padding
UIEdgeInsets | margin
BOOL | clickable
UIImage * | background
UIColor * | backgroundColor

## 函数文档

## ◆ setBackgroundImage:capInsets:

- (void) setBackgroundImage: |  | (UIImage *) | image
capInsets: |  | (UIEdgeInsets) | capInsets

设置背景图片

参数

  image | 背景图片
  capInsets | 可缩放区域

## ◆ setTarget:action:

- (void) setTarget: |  | (nullable id) | target
action: |  | (SEL) | clickAction

点击事件，the action cannot be NULL. Note that the target is not retained.

## 属性说明

## ◆ background

- (UIImage*) background
| read write nonatomic strong

@Defalt false

## ◆ backgroundColor

- (UIColor*) backgroundColor
| read write nonatomic strong

## ◆ clickable

- (BOOL) clickable
| read write nonatomic assign

控件外部的空白区

## ◆ gravity

- (BMKGravityType) gravity
| read write nonatomic assign

## ◆ height

- (int) height
| read write nonatomic assign

## ◆ margin

- (UIEdgeInsets) margin
| read write nonatomic assign

控件内部的空白区

## ◆ padding

- (UIEdgeInsets) padding
| read write nonatomic assign

控件内部的布局

## ◆ sizeType

- (BMKOverlaySizeType) sizeType
| read write nonatomic assign

控件可见的状态

## ◆ visibility

- (BMKVisibility) visibility
| read write nonatomic assign

## ◆ width

- (int) width
| read write nonatomic assign

该类的文档由以下文件生成:

- BaiduMapAPI_Map.framework/Headers/BMKBaseUIView.h