RoundCap

  • RoundCap defines a semicircular cap for the ends of lines, like Polylines, on a map.

  • It's based on the stroke width, with the radius of the semicircle being half the width.

  • RoundCap provides a visually smoother line ending compared to other cap types.

  • Developers can use RoundCap to customize the appearance of lines within their map elements.

public final class RoundCap extends Cap

Cap that is a semicircle with radius equal to half the stroke width, centered at the start or end vertex of a Polyline with solid stroke pattern.

Inherited Constant Summary

Public Constructor Summary

RoundCap()
Constructs a RoundCap.

Public Method Summary

String

Inherited Method Summary

Public Constructors

public RoundCap ()

Constructs a RoundCap.

Public Methods

public String toString ()