AdaptiveScaleSettings class final
How far the resolution may be pulled, and how fast.
Constructors
Properties
- enabled → bool
-
Off by default: an application that has not asked for its resolution to
move should not find it moving.
final
- fastRatio → double
-
Below this multiple, there is room to give resolution back.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holdWindows → int
-
How many clean windows in a row before the scale goes back up.
final
- maximum → double
-
final
- minimum → double
-
The smallest and largest scale this will choose. The maximum is what an
application considers "full", which need not be 1 on a display whose
pixel ratio already costs it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slowRatio → double
-
Above this multiple of targetMicros, the frame is too slow.
final
- step → double
-
How much the scale moves in one step. Whole steps rather than a
continuous solve: a resolution that changes by a per cent every window
is a resolution that is always changing, and the resampling is more
visible than the step.
final
- targetMicros → int
-
The frame period being aimed at, in microseconds. 16667 is sixty a
second.
final
- window → int
-
How many frames are averaged before anything is decided.
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