JointType

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

  • It offers three types: BEVEL (flat), DEFAULT (mitered), and ROUND (rounded).

  • These types control the visual appearance of joints in lines and polygon outlines on a map.

  • The JointType is applicable to both Polyline and the outlines of Polygon objects.

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