MapPaint class abstract

Constructors

MapPaint()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
disposes that class. The class is not usable afterwards.
getAntiAlias() bool
getBitmapShader() → Bitmap?
getColor() Color
getColorAsNumber() int
getStrokeDasharray() List<double>?
getStrokeWidth() double
isTransparent() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAntiAlias(bool value) → void
setBitmapShader(Bitmap bitmap) → void
sets the bitmap shader. Note that the shader uses the opaquicity of the color currently set so make sure the color is not transparent
setColor(Color color) → void
setColorFromNumber(int color) → void
The default value is {@link Color#BLACK}. The color is a 32 bit ARGB format, eg. 0xff003300 (opaquicity, red, green, blue)
setStrokeCap(Cap cap) → void
The default value is {@link Cap#ROUND}.
setStrokeDasharray(List<double>? strokeDasharray) → void
setStrokeJoin(Join join) → void
setStrokeWidth(double strokeWidth) → void
setStyle(Style style) → void
The default value is {@link Style#FILL}.
toString() String
A string representation of this object.
inherited

Operators

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