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
getter/setter pair
fontColor Color?
文字颜色 since 3.5.0
getter/setter pair
fontSize int?
文字大小 since 3.5.0
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
标题文字 since 3.5.0
getter/setter pair
titleAnchorX double?
水平锚点比例 since 3.5.0
getter/setter pair
titleAnchorY double?
垂直锚点比例 since 3.5.0
getter/setter pair
titleRotate double?
title旋转角度 since 3.5.0
getter/setter pair
titleXOffset int?
标题水平偏移 since 3.5.0
getter/setter pair
titleYOffset int?
标题垂直偏移 since 3.5.0
getter/setter pair

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