SplineType enum Null safety

Renders a variety of splines

Spline supports the following types. If SplineType.cardinal type is specified, then specify the tension using cardinalSplineTension property.

Inheritance

Constructors

SplineType()
const

Values

natural → const SplineType
  • SplineType.natural, will rendering normal spline.
const SplineType(0)
monotonic → const SplineType
  • SplineType.monotonic, will rendering monotonic type spline.
const SplineType(1)
cardinal → const SplineType
  • SplineType.cardinal, will rendering cardinal type spline.
const SplineType(2)
clamped → const SplineType
  • SplineType.clamped, will rendering clamped type spline.
const SplineType(3)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Constants

values → const List<SplineType>
A constant List of the values in this enum, in order of their declaration.
[natural, monotonic, cardinal, clamped]