FpsPainter class
This painter just shows the current FPS on the screen
- Inheritance
-
- Object
- AnimatedCanvasState
- FpsPainter
Constructors
Properties
- c ↔ Canvas
-
getter/setter pairinherited
- context → BuildContext
-
no setterinherited
- fps → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- t → double
-
Funvas inspired interfaces
no setterinherited
- time → double
-
no setterinherited
- timeDelta → double
-
no setterinherited
- x ↔ _DrawContext
-
getter/setter pairinherited
Methods
-
C(
double v) → double -
inherited
-
dispose(
) → void -
inherited
-
init(
BuildContext context) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Size size) → void -
This will paint on the screen
override
-
R(
num r, num g, num b, [num? o]) → Color -
inherited
-
S(
double v) → double -
inherited
-
s2q(
double dimension, {bool translate = true, bool clip = true}) → Size -
NOTE: Yanked from Funvas
Scales the canvas to a square with side lengths of
dimension
.inherited -
step(
double deltaTime) → void -
inherited
-
T(
double v) → double -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited