Constructor
new MeasuredTemplateData(data, documentopt)
- See:
-
- BaseMeasuredTemplate
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
_id |
string | The _id which uniquely identifies this BaseMeasuredTemplate embedded document |
||
t |
string |
<optional> |
circle
|
The value in CONST.MEASURED_TEMPLATE_TYPES which defines the geometry type of this template |
x |
number |
<optional> |
0
|
The x-coordinate position of the origin of the template effect |
y |
number |
<optional> |
0
|
The y-coordinate position of the origin of the template effect |
distance |
number |
<optional> |
The distance of the template effect |
|
direction |
number |
<optional> |
0
|
The angle of rotation for the measured template |
angle |
number |
<optional> |
360
|
The angle of effect of the measured template, applies to cone types |
width |
number |
<optional> |
The width of the measured template, applies to ray types |
|
borderColor |
string |
<optional> |
#000000
|
A color string used to tint the border of the template shape |
fillColor |
string |
<optional> |
#FF0000
|
A color string used to tint the fill of the template shape |
texture |
string |
<optional> |
A repeatable tiling texture used to add a texture fill to the template shape |
|
flags |
object |
<optional> |
{}
|
An object of optional key/value flags |
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
data |
object | Initial data used to construct the data object |
|
document |
BaseMeasuredTemplate |
<optional> |
The embedded document to which this data object belongs |
Extends
- DocumentData