Skip to content
Last updated

API / geotoolkit / scene / exports / FreeLayout / FreeLayout

Class: FreeLayout

exports.FreeLayout.FreeLayout

Table of contents

Constructors
[new FreeLayout(rect)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.exports.freelayout.freelayout.md#new freelayout(rect))[new FreeLayout(width, height)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.exports.freelayout.freelayout.md#new freelayout(width, height))
Methods

Contents

Constructors

new FreeLayout(rect)

• new FreeLayout(rect)

Parameters

Name Type
rectRect | Dimension

new FreeLayout(width, height)

• new FreeLayout(width, height)

Parameters

Name Type
widthnumber
heightnumber
Methods

getClassName

▸ getClassName(): string

Returns

string


getLayoutedDimension

▸ getLayoutedDimension(): LayoutedDimension

compute the dimension in the layout this dimension is represented by a fixed dimension and a scaled dimension

Returns

LayoutedDimension


setParent

▸ setParent(parent): FreeLayout

set the parent

Parameters

Name Type Description
parentCompositeDocumentElementparent document for this layout

Returns

FreeLayout

this


updateLayout

▸ updateLayout(): void

update the position of elements in the layout

Returns

void


getClassName

▸ Static getClassName(): string

Returns

string