public class

LineStyle

extends Style
java.lang.Object
   ↳ com.carto.styles.Style
     ↳ com.carto.styles.LineStyle

Class Overview

A style for lines. Contains attributes for configuring how the line is drawn on the screen.

Summary

Public Methods
synchronized void delete()
Bitmap getBitmap()
Returns the bitmap of the line.
float getClickWidth()
Returns the width of the line used for click detection.
LineEndType getLineEndType()
Returns the end point type of the line.
LineJoinType getLineJoinType()
Returns the join type of the line.
float getStretchFactor()
Returns the stretching factor of the line.
float getWidth()
Returns the width of the line.
[Expand]
Inherited Methods
From class com.carto.styles.Style
From class java.lang.Object

Public Methods

public synchronized void delete ()

public Bitmap getBitmap ()

Returns the bitmap of the line.

Returns
  • The bitmap of the line.

public float getClickWidth ()

Returns the width of the line used for click detection.

Returns
  • The width of the line used for click detection.

public LineEndType getLineEndType ()

Returns the end point type of the line.

Returns
  • The end point type of the line.

public LineJoinType getLineJoinType ()

Returns the join type of the line.

Returns
  • The join type of the line.

public float getStretchFactor ()

Returns the stretching factor of the line.

Returns
  • The stretching factor of the line.

public float getWidth ()

Returns the width of the line.

Returns
  • The width of the line.