JointType

  • JointType defines how the corners of polylines and polygon outlines are rendered on a map.

  • It offers three types: BEVEL for a flat bevel, DEFAULT for a mitered joint, and ROUND for a rounded joint.

  • These joint types apply to the visual appearance of lines used to draw shapes on maps.

  • Developers can use these options to customize the style and look of their map overlays.

public final class JointType extends Object

Joint types for Polyline and outline of Polygon.

Constant Summary

int BEVEL Flat bevel on the outside of the joint.
int DEFAULT Default: Mitered joint, with fixed pointed extrusion equal to half the stroke width on the outside of the joint.
int ROUND Rounded on the outside of the joint by an arc of radius equal to half the stroke width, centered at the vertex.

Inherited Method Summary

Constants

public static final int BEVEL

Flat bevel on the outside of the joint.

Constant Value: 1

public static final int DEFAULT

Default: Mitered joint, with fixed pointed extrusion equal to half the stroke width on the outside of the joint.

Constant Value: 0

public static final int ROUND

Rounded on the outside of the joint by an arc of radius equal to half the stroke width, centered at the vertex.

Constant Value: 2