Giggly.Geom.Path (giggly v0.2.0)

Copy Markdown View Source

Paths: a line through each group's rows in their order, at each row's x and y, in the group's color, alpha, linewidth and linetype; where any of those vary along a group, its rows are drawn a segment at a time, each in its start's look. A row missing a position breaks its line.

Its options are arrow:, lineend:, linejoin: and linemitre:. Build one with Giggly.Geom.new(Giggly.Geom.Path, options), so each option left out takes its default. A geom drawing by delegation sets its rows up through it and draws them through it (Giggly.Geom).

Summary

Functions

A path from options validated against options/0.

The options a path is built from, as a NimbleOptions schema: its arrowheads, line ends, corners and mitre limit.

Types

t()

@opaque t()

Functions

new(options)

@spec new(keyword()) :: t()

A path from options validated against options/0.

options()

@spec options() :: keyword()

The options a path is built from, as a NimbleOptions schema: its arrowheads, line ends, corners and mitre limit.