AreaStyle class

区域样式

Constructors

AreaStyle({bool show = true, Color? color, Shader? shader, BoxShadow? shadow, LineStyle? border})
const

Properties

border LineStyle?
final
color Color?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shader Shader?
final
shadow BoxShadow?
final
show bool
final

Methods

drawArea(Canvas canvas, Paint paint, List<Offset> p1List, List<Offset> p2List, bool first) → void
drawPath(Canvas canvas, Paint paint, Path path, {double? colorOpacity, bool drawDash = false}) → void
drawPath2(Canvas canvas, Paint paint, Path p1, Path? p2) → void
drawPolygonArea(Canvas canvas, Paint paint, List<Offset> points, {double? colorOpacity}) → void
drawRect(Canvas canvas, Paint paint, Rect rect, {double? colorOpacity, double? corner}) → void
drawRRect(Canvas canvas, Paint paint, RRect rect, {double? colorOpacity}) → void
fillPaint(Paint paint, Rect? rect, {double? colorOpacity}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited