linejoin

package
v0.0.0-...-955f326 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineJoin

type LineJoin int

LineJoin specifies how to draw the junction between connected line segments.

const (
	// Miter is a join with a sharp, angled, corner. The line is drawn with
	// the outer sides of the line beyond the endpoint of the path, until they
	// meet. If the length of the miter divided by the line width is greater
	// than the miter limit, a bevel join is used instead. This is the
	// default.
	Miter LineJoin = iota
	// Round is a join with a rounded end. The line is drawn to extend beyond
	// the endpoint of the path. The line ends with a semicircular arc with a
	// radius of 1/2 the line’s width, centered on the endpoint.
	Round
	// Bevel is a join with a squared-off end. The line is drawn to extend
	// beyond the endpoint of the path, for a distance of 1/2 the line’s
	// width.
	Bevel
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL