class steno3d.core.Line

Low-level Steno3D Line resource

Lines are 1D resources. Their geometry is defined by a Mesh1D as Vertices and connecting Segments. They may have Data that is either defined on the vertices (nodes) or the segments (cell-centers). There are several line options and mesh options available for customizing the appearance.

Line resources can also be created through a high-level functional interface with steno3d.line().

Line implements props.HasProps for dynamic, type-checked properties

Required Properties:

Mesh (props.Instance) - Structure of the line resource, Class: Mesh1D

Optional Properties:

Data (props.Repeated) - Data defined on the line resource, Type: props.Instance (Class: LineBinder)

Opts (props.Instance) - Options for the line resource, Class: LineOptions

Title (props.String) - Content title

Description (props.String) - Content description


See also steno3d.line, steno3d.core.Mesh1D, steno3d.core.binders, steno3d.core.opts.LineOptions, steno3d.core.CompositeResource, steno3d.core.Project