Api - IModel Interface
Hierarchy
- IModel
Implemented by
Index
Properties
Optional caption
Optional Caption object.
Optional exporterOptions
Optional exporter options for this model.
Type declaration
-
[exporterName: string]: any
Optional layer
Optional layer of this model.
Optional models
Optional map of models within this model.
Optional notes
An author may wish to add notes to this model instance.
Optional origin
Optional origin location of this model.
Optional paths
Optional map of path objects in this model.
Optional type
A model may want to specify its type, but this value is not employed yet.
Optional units
Optional unit system of this model. See UnitType for possible values.
Generated using TypeDoc
A model is a composite object which may contain a map of paths, or a map of models recursively.
Example:
var m = { paths: { "line1": { type: 'line', origin: [0, 0], end: [1, 1] }, "line2": { type: 'line', origin: [0, 0], end: [-1, -1] } } };