PaintProperties class

A class that describes the basic properties of the Paint class, which can be passed to the "properties" field of the GeoJsonFeature and used to draw a specific feature

Constructors

PaintProperties({required double? strokeWidth, required Color? color, required BlendMode? blendMode, required bool? isAntiAlias, required bool? invertColors, Shader? shader})
PaintProperties.fromJson(Map<String, dynamic> json)
factory

Properties

blendMode BlendMode?
getter/setter pair
color Color?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invertColors bool?
getter/setter pair
isAntiAlias bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shader Shader?
Property for assigning a custom shader for use when drawing a primitive
getter/setter pair
strokeWidth double?
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