Add some missing docs (#4772)
These docs complete the dartdocs for their respective libraries.
This commit is contained in:
@@ -85,6 +85,7 @@ class SpriteBox extends RenderBox {
|
||||
Duration _lastTimeStamp;
|
||||
double _frameRate = 0.0;
|
||||
|
||||
/// An instantaneous estimate of the number of frames per second this sprite box is producing.
|
||||
double get frameRate => _frameRate;
|
||||
|
||||
// Transformation mode
|
||||
|
||||
@@ -25,6 +25,7 @@ class TexturedLine extends Node {
|
||||
|
||||
/// Draws a polyline to a [Canvas] from a list of points using the provided [Texture].
|
||||
class TexturedLinePainter {
|
||||
/// Creates a painter that draws a polyline with a texture.
|
||||
TexturedLinePainter(this._points, this.colors, this.widths, [Texture texture, this.textureStops]) {
|
||||
this.texture = texture;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user