JointType
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
JointType defines the styles for joints in Polyline and Polygon outlines.
The BEVEL joint type creates a flat bevel on the outside of the joint.
The DEFAULT joint type creates a mitered joint with a pointed extrusion.
The ROUND joint type creates a rounded joint on the outside.
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
Object
clone ()
boolean
void
finalize ()
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["`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"]]