Skip to content
Last updated

API / geotoolkit / layout / ILayoutable / ILayoutable

Class: ILayoutable

layout.ILayoutable.ILayoutable

Define an object which can be laid out.

Interface

Implemented by

Table of contents

Constructors
  • [new ILayoutable()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.layout.ilayoutable.ilayoutable.md#new ilayoutable())
Methods

Contents

Constructors

new ILayoutable()

• new ILayoutable()

Methods

getBounds

▸ Abstract getBounds(): Rect

Returns area, which object occupies

Returns

Rect

return area, which object occupies


getLayoutStyle

▸ Abstract getLayoutStyle(): LayoutStyle<string | number&gt;

Return desired layout style

Returns

LayoutStyle<string | number&gt;


getParent

▸ Abstract getParent(): Node

Return parent node

Returns

Node


setBounds

▸ Abstract setBounds(area): ILayoutable

Set area, which object occupies

Parameters

Name Type Description
areaRectan area to occupy

Returns

ILayoutable

this