BMFTitleOptions class
Constructors
-
BMFTitleOptions({Color? bgColor, Color? fontColor, String? text, int? fontSize = 48, double? titleAnchorX = 0.5, double? titleAnchorY = 1.0, double? titleRotate, int? titleXOffset, int? titleYOffset})
-
-
BMFTitleOptions.fromMap(Map map)
-
map => BMFTitleOptions
Properties
-
bgColor
↔ Color?
-
背景颜色 since 3.5.0
read / write
-
fontColor
↔ Color?
-
文字颜色 since 3.5.0
read / write
-
fontSize
↔ int?
-
文字大小 since 3.5.0
read / write
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
text
↔ String?
-
标题文字 since 3.5.0
read / write
-
titleAnchorX
↔ double?
-
水平锚点比例 since 3.5.0
read / write
-
titleAnchorY
↔ double?
-
垂直锚点比例 since 3.5.0
read / write
-
titleRotate
↔ double?
-
title旋转角度 since 3.5.0
read / write
-
titleXOffset
↔ int?
-
标题水平偏移 since 3.5.0
read / write
-
titleYOffset
↔ int?
-
标题垂直偏移 since 3.5.0
read / write
Methods
-
fromMap(Map map)
→ dynamic
-
map -> dynamic
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap()
→ Map<String, Object?>
-
model -> map
-
toString()
→ String
-
A string representation of this object.
inherited
Operators
-
operator ==(Object other)
→ bool
-
The equality operator.
inherited