O1Library Docs
Fall 2026
Docs API

# Join

o1.gui.Line.Join
enum Join(swingJoin: SwingJoin)

An enumeration of different styles of line caps. Each such style specifies how the connections between lines look like.

These styles correspond directly to the join styles illustrated in Oracle’s Java graphics tutorial. See that page for pictures.

## Attributes

Graph
Supertypes
  trait Enum
  trait Serializable
  trait Product
  trait Equals
  class Object
  trait Matchable
  class Any
  Show all

## Members list

### Type members

#### Enum entries

case Bevel extends Join

a line-join style where the join is cut flat

a line-join style where the join is cut flat

## Attributes

case Miter extends Join

a line-join style where the outer edges of connecting line segments meet at a sharp point

a line-join style where the outer edges of connecting line segments meet at a sharp point

## Attributes

case Round extends Join

a line-join style connection between the line segments is rounded

a line-join style connection between the line segments is rounded

## Attributes