Cap

o1.gui.Line.Cap
enum Cap(swingCap: SwingCap)

An enumeration of different styles of line caps. Each such style specifies what the end points of lines look like.

These styles correspond directly to the line-cap 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 Butt extends Cap

a line-cap style with flat line endings that are cut off right at the end points

a line-cap style with flat line endings that are cut off right at the end points

Attributes

case Round extends Cap

a line-cap style with rounded line endings around the end points

a line-cap style with rounded line endings around the end points

Attributes

case Square extends Cap

a line-cap style with square line endings that extend slightly beyond the end points

a line-cap style with square line endings that extend slightly beyond the end points

Attributes