ContrastCurve class

A class containing a value that changes with the contrast level.

Usually represents the contrast requirements for a dynamic color on its background. The four values correspond to values for contrast levels -1.0, 0.0, 0.5, and 1.0, respectively.

Constructors

ContrastCurve(double low, double normal, double medium, double high)
Creates a ContrastCurve object.

Properties

hashCode int
The hash code for this object.
no setterinherited
high double
final
low double
final
medium double
final
normal double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(double contrastLevel) double
Returns the value at a given contrast level.
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