Namespace JXG.Options
↳ JXG.Options
Defined in: options.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Options Namespace
These are the default options of the board and of all geometry elements.
|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
JXG.Options.layer
Default ordering of the layers.
|
| <static> |
JXG.Options.navbar
Options that are used by the navigation bar.
|
| <static> |
JXG.Options.precision
Precision options.
|
| <static> |
JXG.Options.shortcuts
Abbreviations of properties.
|
Namespace Detail
JXG.Options
Options Namespace
These are the default options of the board and of all geometry elements.
Field Detail
<static>
JXG.Options.layer
Default ordering of the layers.
The default values are
JXG.Options.layer: {
numlayers: 20, // only important in SVG
text: 9,
point: 9,
glider: 9,
arc: 8,
line: 7,
circle: 6,
curve: 5,
turtle: 5,
polygon: 3,
sector: 3,
angle: 3,
integral: 3,
axis: 2,
ticks: 2,
grid: 1,
image: 0,
trace: 0
}
<static>
JXG.Options.navbar
Options that are used by the navigation bar.
Default values are
JXG.Option.navbar: {
strokeColor: '#333333',
fillColor: 'transparent',
highlightFillColor: '#aaaaaa',
padding: '2px',
position: 'absolute',
fontSize: '14px',
cursor: 'pointer',
zIndex: '100',
right: '5px',
bottom: '5px'
},
<static>
JXG.Options.precision
Precision options.
The default values are
JXG.Options.precision: {
touch: 30,
touchMax: 100,
mouse: 4,
epsilon: 0.0001,
hasPoint: 4
}
<static>
JXG.Options.shortcuts
Abbreviations of properties. Setting the shortcut means setting abbreviated properties
to the same value.
It is used in JXG.GeometryElement#setAttribute and in
the constructor JXG.GeometryElement.
Attention: In Options.js abbreviations are not allowed.
Elements