LineSymbolRenderer class
Line symbol renderer.
- Inheritance
-
- Object
- SymbolRenderer
- LineSymbolRenderer
Constructors
-
LineSymbolRenderer({List<
int> ? dashPattern, bool isSolid = true, double? strokeWidth})
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSolid → bool
-
Whether the symbol should be rendered as a solid shape, or a hollow shape.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeWidth → double
-
Thickness of the line stroke.
final
Methods
-
getSolidFillColor(
Color? fillColor) → Color? -
inherited
-
getSolidStrokeWidthPx(
double? strokeWidthPx) → double? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
ChartCanvas canvas, Rectangle< num> bounds, {List<int> ? dashPattern, Color? fillColor, FillPatternType? fillPattern, Color? strokeColor, double? strokeWidthPx}) → void -
override
-
shouldRepaint(
covariant LineSymbolRenderer oldRenderer) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- minLengthToRoundCaps → const int
- roundEndCapsPixels → const int
- strokeWidthForNonRoundedEndCaps → const double
- strokeWidthForRoundEndCaps → const double