LcPaintKind enum
Paint (fill/stroke source) kinds a shape can request. Kept as its own type - decoupled from any specific shape's fields below - so future geometry kinds (circles, paths...) can reuse LcPaintDesc verbatim instead of growing per-shape color fields, and so this enum can later grow e.g. LC_PAINT_KIND_PATTERN without touching existing call sites.
Values
- LC_PAINT_KIND_SOLID → const LcPaintKind
-
const LcPaintKind(0) - LC_PAINT_KIND_LINEAR_GRADIENT → const LcPaintKind
-
const LcPaintKind(1) - LC_PAINT_KIND_RADIAL_GRADIENT → const LcPaintKind
-
const LcPaintKind(2) - LC_PAINT_KIND_CONIC_GRADIENT → const LcPaintKind
-
const LcPaintKind(3)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → LcPaintKind
Constants
-
values
→ const List<
LcPaintKind> - A constant List of the values in this enum, in order of their declaration.