Skip to content
Last updated

API / geotoolkit / controls / shapes / ScrollablePanel

Module: ScrollablePanel

Table of contents

Namespaces
Classes
Functions

Contents

Namespaces

ScrollablePanel

• ScrollablePanel: Object

Functions

getAutoSizeBoundsByContent

▸ getAutoSizeBoundsByContent(options): Rect

Calculates new bounds for a panel as a rectangle with the specified content area size, keeping the original top-left position (minX, minY) from the old bounds. This is the default method used for scrollable panels.

Parameters

Name Type
optionsGetAutoSizeBoundsOptions

Returns

Rect

The new bounds as a rectangle with updated size, preserving the old position.