TextLayoutBackgroundModel enum

Constants

none → const TextLayoutBackgroundModel

无背景

const TextLayoutBackgroundModel(0)
oval → const TextLayoutBackgroundModel

椭圆背景

const TextLayoutBackgroundModel(7)
ovalBackgroundAndBorder → const TextLayoutBackgroundModel

椭圆边框 + 背景

const TextLayoutBackgroundModel(9)
ovalBorder → const TextLayoutBackgroundModel

椭圆边框

const TextLayoutBackgroundModel(8)
rect → const TextLayoutBackgroundModel

矩形背景

const TextLayoutBackgroundModel(1)
rectBackgroundAndBorder → const TextLayoutBackgroundModel

矩形背景+矩形边框

const TextLayoutBackgroundModel(3)
rectBorder → const TextLayoutBackgroundModel

矩形边框

const TextLayoutBackgroundModel(2)
rrect → const TextLayoutBackgroundModel

圆角矩形背景 通过backGroundRadius来配置圆角的大小

const TextLayoutBackgroundModel(4)
rrectBackgroundAndBorder → const TextLayoutBackgroundModel

圆角矩形背景+边框

const TextLayoutBackgroundModel(6)
rrectBorder → const TextLayoutBackgroundModel

圆角矩形边框

const TextLayoutBackgroundModel(5)
values → const List<TextLayoutBackgroundModel>

A constant List of the values in this enum, in order of their declaration.

const List<TextLayoutBackgroundModel>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited