BMFText class
文本
Android独有
- Inheritance
- Object
- BMFModel
- BMFOverlay
- BMFText
Constructors
-
BMFText({@required String text,
@required BMFCoordinate position, Color bgColor, Color fontColor: Colors.blue, int fontSize: 12, BMFTypeFace typeFace, int alignY: BMFHorizontalAlign.ALIGN_CENTER_HORIZONTAL, int alignX: BMFVerticalAlign.ALIGN_CENTER_VERTICAL, double rotate: 0, int zIndex: 0, bool visible: true} ) - BMFText构造方法
-
BMFText.withMap(Map map
)
Properties
- alignX ↔ int
-
文字覆盖物水平对齐方式 ALIGN_LEFT | ALIGN_RIGHT | ALIGN_CENTER_HORIZONTAL
read / write
- alignY ↔ int
-
文字覆盖物垂直对齐方式 ALIGN_TOP | ALIGN_BOTTOM | ALIGN_CENTER_VERTICAL
read / write
- bgColor ↔ Color
-
背景色
read / write
- fontColor ↔ Color
-
字体颜色
read / write
- fontSize ↔ int
-
字体大小
read / write
- position ↔ BMFCoordinate
-
text经纬度
read / write
- rotate ↔ double
-
旋转角度
read / write
- text ↔ String
-
文本
read / write
- typeFace ↔ BMFTypeFace
-
typeface
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- visible ↔ bool
-
overlay是否可见 [...]
read / write, inherited
- zIndex ↔ int
-
元素的堆叠顺序
s
Android独有
read / write, inherited
Methods
-
fromMap(
Map map ) → dynamic -
map -> dynamic
override
-
toMap(
) → Map< String, Object> -
model -> map
override
-
getId(
) → String -
inherited
-
getMethodChannel(
) → MethodChannel -
inherited
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setMethodChannel(
MethodChannel methodChannel ) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited