API / geotoolkit / layout / ValueCorrelatedRangeLayout1D / ValueCorrelatedRangeLayout1D
layout.ValueCorrelatedRangeLayout1D.ValueCorrelatedRangeLayout1D
Interface to layout ILayoutElement1D elements.
See
Interface
ValueCorrelatedRangeLayout1D
Constructors
Css Properties
| Name | Type | Description |
|---|---|---|
maxoffset | number | If defined do not draw labels further than 'maxoffset' device units from its model position |
overlap | string | What to do if ranges don't fit: 'some' or 'all' |
Methods
▸ getClassName(): string
string
▸ getMaxOffset(): number
Returns maxOffset
number
maxOffset
▸ getProperties(): Options
Gets all the properties pertaining to this object
of this object
▸ layout(elements, context, limits?): void
Layouts elements
| Name | Type | Description |
|---|---|---|
elements | TwoWayArrayIterator<ILayoutElement1D> | elements to layout |
context | RenderingContext | rendering context |
Optional limits | Range | limits to layout elements within |
void
▸ setMaxOffset(maxOffset): ValueCorrelatedRangeLayout1D
Sets maxOffset
| Name | Type | Description |
|---|---|---|
maxOffset | number | maxOffset |
this
▸ setProperties(properties?): ValueCorrelatedRangeLayout1D
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Options | An object containing the properties to set |
this
▸ Static getClassName(): string
string