Module tove

Tables

LineJoin The visual approach with which lines are joined.
FillRule The rule by which solidness in paths is defined.

Class List

List.count Total number of elements in this list.
List:at (index) Get element at index.
List:at (name) Get element with name.


Tables

LineJoin
The visual approach with which lines are joined. Also see Mozilla SVG documentation.

Fields:

  • miter Mitered (sharp) line joins
  • round Round line joins
  • bevel Bevel (flat) line joins
FillRule
The rule by which solidness in paths is defined. Also see Mozilla SVG documentation

Fields:

  • nonzero Non-zero number of path crossings defines insideness
  • evenodd Odd number of path crossings defines insideness

Class List

A list of elements, such as e.g. Paths.
List.count
Total number of elements in this list.
  • count number number of elements in this list

Usage:

    graphics.paths.count -- number of paths
    graphics.paths[1].subpaths.count -- number of subpaths in path 1
    graphics.paths[1].subpaths[1].curves.count -- number of curves in subpath 1 in path 1
List:at (index)
Get element at index.

Parameters:

  • index number 1-based index of element to retrieve

Returns:

    retrieved element

Usage:

    graphics.paths[1]  -- retrieve first path
List:at (name)
Get element with name.

Parameters:

  • name string name of element to retrieve

Returns:

    retrieved element

Usage:

    graphics.paths["circle"] -- retrieve the path named "circle"
generated by LDoc 1.4.6 Last updated 2019-04-19 11:25:52