JointType
Stay organized with collections
Save and categorize content based on your preferences.
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
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eJointType\u003c/code\u003e defines how the corners of polylines and polygon outlines are rendered on a map.\u003c/p\u003e\n"],["\u003cp\u003eThere are three joint types: \u003ccode\u003eBEVEL\u003c/code\u003e (flat), \u003ccode\u003eDEFAULT\u003c/code\u003e (mitered), and \u003ccode\u003eROUND\u003c/code\u003e (rounded).\u003c/p\u003e\n"],["\u003cp\u003eEach joint type provides a different visual style for the connections between line segments.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003eJointType\u003c/code\u003e to customize the appearance of polylines and polygons in their map applications.\u003c/p\u003e\n"]]],["`JointType` defines joint styles for `Polyline` and `Polygon` outlines. Three constants are available: `BEVEL` (value 1) creates a flat bevel joint. `DEFAULT` (value 0) generates a mitered joint with a pointed extrusion. `ROUND` (value 2) produces a rounded joint using an arc. These constants determine how corners are rendered. Inherited methods from `Object` class are available like `equals`, `toString` and `hashCode`.\n"],null,["# JointType\n\npublic final class **JointType** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nJoint types for [Polyline](/android/reference/com/google/android/gms/maps/model/Polyline) and\noutline of [Polygon](/android/reference/com/google/android/gms/maps/model/Polygon). \n\n### Constant Summary\n\n|-----|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| int | [BEVEL](/android/reference/com/google/android/gms/maps/model/JointType#BEVEL) | Flat bevel on the outside of the joint. |\n| int | [DEFAULT](/android/reference/com/google/android/gms/maps/model/JointType#DEFAULT) | Default: Mitered joint, with fixed pointed extrusion equal to half the stroke width on the outside of the joint. |\n| int | [ROUND](/android/reference/com/google/android/gms/maps/model/JointType#ROUND) | Rounded on the outside of the joint by an arc of radius equal to half the stroke width, centered at the vertex. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nConstants\n---------\n\n#### public static final int\n**BEVEL**\n\nFlat bevel on the outside of the joint. \nConstant Value: 1 \n\n#### public static final int\n**DEFAULT**\n\nDefault: Mitered joint, with fixed pointed extrusion equal to half the stroke width\non the outside of the joint. \nConstant Value: 0 \n\n#### public static final int\n**ROUND**\n\nRounded on the outside of the joint by an arc of radius equal to half the stroke\nwidth, centered at the vertex. \nConstant Value: 2"]]