API / geotoolkit / scene / exports / FreeLayout / FreeLayout
exports.FreeLayout.FreeLayout
Constructors
| [new FreeLayout(rect)](/solutions/geotoolkit/apis/classes/geotoolkit.scene.exports.freelayout.freelayout.md#new freelayout(rect)) | [new FreeLayout(width, height)](/solutions/geotoolkit/apis/classes/geotoolkit.scene.exports.freelayout.freelayout.md#new freelayout(width, height)) |
|---|
Constructors
• new FreeLayout(rect)
• new FreeLayout(width, height)
| Name | Type |
|---|---|
width | number |
height | number |
Methods
▸ getClassName(): string
string
▸ getLayoutedDimension(): LayoutedDimension
compute the dimension in the layout this dimension is represented by a fixed dimension and a scaled dimension
▸ setParent(parent): FreeLayout
set the parent
| Name | Type | Description |
|---|---|---|
parent | CompositeDocumentElement | parent document for this layout |
this
▸ updateLayout(): void
update the position of elements in the layout
void
▸ Static getClassName(): string
string