Public 成员函数 | |
| AbCompassView (Context context) | |
| AbCompassView (Context context, AttributeSet attrs) | |
| float | getDirection () |
| void | setDirection (float direction) |
| void | setCompassDrawable (Drawable drawable) |
| void | setCompassDrawable (int id) |
Protected 成员函数 | |
| void | onDraw (Canvas canvas) |
Private 属性 | |
| Context | mContext = null |
| Drawable | mCompassDrawable = null |
| float | mDirection = 0.0f |
© 2012 amsoft.cn 名称:AbCompassView.java 描述:指南针
|
inline |
Instantiates a new ab compass view.
| context | the context |
|
inline |
Instantiates a new ab compass view.
| context | the context |
| attrs | the attrs |
|
inline |
Gets the direction.
|
inlineprotected |
|
inline |
描述:设置指南针图片.
| drawable | 必须设置才能显示 |
|
inline |
描述:设置指南针图片.
| id |
|
inline |
Sets the direction.
| direction | the new direction |
|
private |
指南针图标.
|
private |
上下文.
|
private |
方向.
1.8.8