BaiduMap_IOSSDK_v7.1.0_Docs 7.1.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
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
| readwritenonatomicstrong

@Defalt false

## ◆ backgroundColor

- (UIColor*) backgroundColor
| readwritenonatomicstrong

## ◆ clickable

- (BOOL) clickable
| readwritenonatomicassign

控件外部的空白区

## ◆ gravity

- (BMKGravityType) gravity
| readwritenonatomicassign

## ◆ height

- (int) height
| readwritenonatomicassign

## ◆ margin

- (UIEdgeInsets) margin
| readwritenonatomicassign

控件内部的空白区

## ◆ padding

- (UIEdgeInsets) padding
| readwritenonatomicassign

控件内部的布局

## ◆ visibility

- (BMKVisibility) visibility
| readwritenonatomicassign

## ◆ width

- (int) width
| readwritenonatomicassign

控件可见的状态

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

- BaiduMapAPI_Map.framework/Headers/BMKBaseUIView.h