SvgBrush class

Annotations

Constructors

SvgBrush.new({required double? opacity, required SvgColor? fill, required bool? fillEvenOdd, required double? fillOpacity, required SvgColor? stroke, required double? strokeOpacity, required SvgNumeric? strokeWidth, required List<double>? strokeDashArray, required double? strokeDashOffset, required PdfLineCap? strokeLineCap, required PdfLineJoin? strokeLineJoin, required double? strokeMiterLimit, required String? fontFamily, required SvgNumeric? fontSize, required String? fontStyle, required String? fontWeight, required SvgTextAnchor? textAnchor, required PdfBlendMode? blendMode, SvgMaskPath? mask})
const
SvgBrush.fromXml(XmlElement element, SvgBrush parent, SvgPainter painter)
factory

Properties

blendMode PdfBlendMode?
final
fill SvgColor?
final
fillEvenOdd bool?
final
fillOpacity double?
final
fontFamily String?
final
fontSize SvgNumeric?
final
fontStyle String?
final
fontWeight String?
final
hashCode int
The hash code for this object.
no setterinherited
mask SvgMaskPath?
final
opacity double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke SvgColor?
final
strokeDashArray List<double>?
final
strokeDashOffset double?
final
strokeLineCap PdfLineCap?
final
strokeLineJoin PdfLineJoin?
final
strokeMiterLimit double?
final
strokeOpacity double?
final
strokeWidth SvgNumeric?
final
textAnchor SvgTextAnchor?
final

Methods

copyWith({double? opacity, SvgColor? fill, bool? fillEvenOdd, double? fillOpacity, SvgColor? stroke, double? strokeOpacity, SvgNumeric? strokeWidth, List<double>? strokeDashArray, double? strokeDashOffset, PdfLineCap? strokeLineCap, PdfLineJoin? strokeLineJoin, double? strokeMiterLimit, SvgNumeric? fontSize, String? fontFamily, String? fontStyle, String? fontWeight, SvgTextAnchor? textAnchor, PdfBlendMode? blendMode, SvgMaskPath? mask}) SvgBrush
merge(SvgBrush? other) SvgBrush
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

Constants

defaultContext → const SvgBrush