LineShaderSetModel class

Constructors

LineShaderSetModel({required LinearGradientModel baseLineTopGradient, LinearGradientModel? baseLineBottomGradient, double? baseLineY, bool shaderIsContentFill = true})

Properties

baseLineBottomGradient LinearGradientModel?
getter/setter pair
baseLineTopGradient LinearGradientModel
getter/setter pair
baseLineY double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shaderIsContentFill bool
此设置只针对baseLineY不为null的时候才有意义 true:渐变色是内部路径的最大最小值和baseLineY的区间内渐变 false:还是baseLineY分两区中的整体区域的渐变范围 注意:(此处只是shader范围,渐变色填充展示出来的仍是路径和基线闭合间的区域)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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