pattern property

Expression<String>? get pattern

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Implementation

Expression<String>? get pattern =>
    _propertyOrNull('line-pattern', decodeString);
set pattern (Expression<String>? value)

Implementation

set pattern(Expression<String>? value) =>
    _setExpression('line-pattern', value);