GizmoLineCap

View source

Provides the line-end choices used by gizmo drawing configuration. Use these numeric values for GizmoSettings#lineCap.

Examples

import { GizmoLineCap, GizmoSettings } from '@wimaengine/gizmo'

const settings = new GizmoSettings()
settings.lineCap = GizmoLineCap.Round

Variants


Butt

View source

Selects a line end that stops at the endpoint (0).

Square

View source

Selects a square line end that extends past the endpoint (2).