ence/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) .  Units in  pixels  .  Defaults
to ` 0 ` .  Supports  _[ combine  ` feature-state ` ](/style-
spec/reference/expressions/#feature-state) _ and [ smooth-ramp  ` interpolate
` ](/style-spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The line's offset. For linear features, a positive value offsets the line to
the right, relative to the direction of the line, and a negative value to the
left. For polygon features, a positive value results in an inset, and a
negative value results in an outset.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.12.1  |  >= 3.0.0  |  >= 3.1.0   
data-driven styling  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  line-opacity  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 1 ` .  Supports  _[ combine  ` feature-state `
](/style-spec/reference/expressions/#feature-state) _ and [ smooth-ramp  `
interpolate ` ](/style-spec/reference/expressions/#interpolate) expressions.
opacity  Transitionable.

The opacity at which the line will be drawn.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
data-driven styling  |  >= 0.29.0  |  >= 5.0.0  |  >= 3.5.0   
  
###  line-pattern  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
resolvedImage ](/style-spec/reference/types/#resolvedImage) .

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.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
data-driven styling  |  >= 0.49.0  |  >= 6.5.0  |  >= 4.4.0   
  
###  line-round-limit  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) .  Defaults to ` 1.05 ` .
_Requires_ line-join  to be  ` "round" ` .  Supports  [ smooth-ramp  `
interpolate ` ](/style-spec/reference/expressions/#interpolate) expressions.

Used to automatically convert round joins to miter joins for shallow angles.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
  
###  line-sort-key  â

[ Layout ](/style-spec/reference/layers/#layout-property) property.  Optional
[ number ](/style-spec/reference/types/#number) .

Sorts features in ascending order based on this value. Features with a higher
sort key will appear above features with a lower sort key.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 1.2.0  |  >= 9.1.0  |  >= 5.8.0   
data-driven styling  |  >= 1.2.0  |  >= 9.1.0  |  >= 5.8.0   
  
###  line-translate  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
array ](/style-spec/reference/types/#array) of  [ number  s ](/style-
spec/reference/types/#number) .  Units in  pixels  .  Defaults to ` [0,0] ` .
Supports  [ smooth-ramp  ` interpolate ` ](/style-
spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The geometry's offset. Values are [x, y] where negatives indicate left and up,
respectively.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 0.10.0  |  >= 2.0.1  |  >= 2.0.0   
  
###  line-translate-anchor  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
enum ](/style-spec/reference/types/#enum) .  One of  ` "map" ` , ` "viewport"
` .  Defaults to ` "map" ` .  _R