JointType
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
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.
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
From class
java.lang.Object
boolean
equals (Object arg0)
final
Class<?>
getClass ()
int
hashCode ()
final
void
notify ()
final
void
notifyAll ()
String
toString ()
final
void
wait (long arg0, int arg1)
final
void
wait (long arg0)
final
void
wait ()
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-06 UTC.
[null,null,["Last updated 2025-11-06 UTC."],[],["`JointType` defines the appearance of joints in `Polyline` and `Polygon` outlines. It offers three joint styles: `BEVEL` (flat bevel), `DEFAULT` (mitered with pointed extrusion), and `ROUND` (rounded arc). These styles are represented by integer constants: `BEVEL` (1), `DEFAULT` (0), and `ROUND` (2). `JointType` class also inherits methods from `Object` class for operations such as equality checks, retrieval of class and hashcode, string representation, and other.\n"]]