Enum LineJoin

LineJoin enumeration

The line join style shall specify the shape to be used at the corners of paths that are stroked.

public enum LineJoin


MiterJoin0Miter join. The outer edges of the strokes for the two segments shall be extended until they meet at an angle, as in a picture frame. If the segments meet at too sharp an angle as defined by the miter limit parameter (see, “Miter Limit”), a bevel join shall be used instead.
RoundJoin1Round join. An arc of a circle with a diameter equal to the line width shall be drawn around the point where the two segments meet, connecting the outer edges of the strokes for the two segments. This pieslice-shaped figure shall be filled in, producing a rounded corner.
BevelJoin2Bevel join. The two segments shall be finished with butt caps (see, “Line Cap Style”) and the resulting notch beyond the ends of the segments shall be filled with a triangle.

See Also