HorizontalStripesLight class
Constructors
-
HorizontalStripesLight({required Color bgColor, required Color fgColor, int featuresCount = Pattern.DEFAULT_STRIPES_COUNT})
-
Paints a Pattern made of 10 thin horizontal stripes across the object's height
with the foreground color as the stripe color.
const
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
paintOnCanvas(Canvas canvas, Size size)
→ void
-
Paint the Pattern on the whole Canvas size.
inherited
-
paintOnCircle(Canvas canvas, Size size, Offset center, double radius, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect})
→ void
-
Paint the Pattern on a
Circle
, defined by a center
Offset and a radius
.
inherited
-
paintOnPath(Canvas canvas, Size size, Path path, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect})
→ void
-
Paint the Pattern on a Path.
inherited
-
paintOnRect(Canvas canvas, Size size, Rect rect, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect})
→ void
-
Paint the Pattern on a Rect.
inherited
-
paintOnRRect(Canvas canvas, Size size, RRect rRect, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect})
→ void
-
Paint the Pattern on a RRect.
inherited
-
paintOnWidget(Canvas canvas, Size size, {PatternScaleBehavior patternScaleBehavior = PatternScaleBehavior.container, Rect? customRect})
→ void
-
Paint the Pattern on a widget.
inherited
-
paintWithPattern(Canvas canvas, double x, double y, double width, double height)
→ void
-
After clipping the canvas to the shape we want, paint the Pattern on the rectangle
defined by the provided
x
, y
, width
, height
.
override
-
toString()
→ String
-
A string representation of this object.
inherited