Last updated

API / geotoolkit / layout / ValueCorrelatedRangeLayout1D / ValueCorrelatedRangeLayout1D

Class: ValueCorrelatedRangeLayout1D

layout.ValueCorrelatedRangeLayout1D.ValueCorrelatedRangeLayout1D

Interface to layout ILayoutElement1D elements.

See

ILayoutElement1D

Interface

Hierarchy

Implements

Table of contents

Constructors
Methods
Css Properties
Name Type Description
maxoffsetnumberIf defined do not draw labels further than 'maxoffset' device units from its model position
overlapstringWhat to do if ranges don't fit: 'some' or 'all'

Contents

Constructors

new ValueCorrelatedRangeLayout1D(options)

new ValueCorrelatedRangeLayout1D(options?)

Parameters

Name Type
Optional optionsOptions
Methods

getClassName

getClassName(): string

Returns

string


getMaxOffset

getMaxOffset(): number

Returns maxOffset

Returns

number

maxOffset


getProperties

getProperties(): Options

Gets all the properties pertaining to this object

Returns

Options

of this object


layout

layout(elements, context, limits?): void

Layouts elements

Parameters

Name Type Description
elementsTwoWayArrayIterator<ILayoutElement1D>elements to layout
contextRenderingContextrendering context
Optional limitsRangelimits to layout elements within

Returns

void

Implementation of

ILayout1D.layout


setMaxOffset

setMaxOffset(maxOffset): ValueCorrelatedRangeLayout1D

Sets maxOffset

Parameters

Name Type Description
maxOffsetnumbermaxOffset

Returns

ValueCorrelatedRangeLayout1D

this


setProperties

setProperties(properties?): ValueCorrelatedRangeLayout1D

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

ValueCorrelatedRangeLayout1D

this


getClassName

Static getClassName(): string

Returns

string