linecap

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 LineCap

type LineCap int

LineCap defines styles for rendering the endpoint of a stroked line.

const (
	// Butt is a line with a squared-off end. Lines are drawn to extend only
	// to the exact endpoint of the path. This is the default.
	Butt LineCap = iota
	// Round is a line with a rounded end. Lines are drawn to extend beyond
	// the endpoint of the path. The line ends with a semicircular arc with a
	// radius of half the line's width, centered on the endpoint.
	Round
	// Square is a line with a squared-off end. Lines are drawn beyond the
	// endpoint of the path for a distance equal to half the line width.
	Square
)

Jump to

Keyboard shortcuts

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