ThumbHashSampler class
Methods
-
blerp(Color c00, Color c10, Color c01, Color c11, double tx, double ty)
→ Color
-
-
getColorAtPixel(int x, int y)
→ Color
-
-
getColorNormalized(double x, double y)
→ Color
-
-
getMeshPointNormalized(double x, double y)
→ MeshGradientPoint
-
-
hardSample({double p = 0.15})
→ List<MeshGradientPoint>
-
-
lerp(Color a, Color b, double t)
→ Color
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sample(List<Offset> normals)
→ List<Color>
-
-
sampleColorBlerp(double x, double y, double p)
→ Color
-
-
samplePointBlerp(double x, double y, double p)
→ MeshGradientPoint
-
-
samplePoints(int w, int h)
→ List<MeshGradientPoint>
-
-
snap(int w, int h)
→ List<Color>
-
-
supersample({double r = 0.1, double p = 0.15, dynamic h = 0.15})
→ List<MeshGradientPoint>
-
-
toString()
→ String
-
A string representation of this object.
inherited