Last updated

API / geotoolkit / gauges / layout / GaugeLayout / GaugeLayout

Namespace: GaugeLayout

layout.GaugeLayout.GaugeLayout

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Object

properties

Type declaration

NameTypeDescription
bounds?Rectlayout bounds
componentpositions?{ gauge?: Regions ; name?: Regions ; value?: Regions }component positions
componentpositions.gauge?Regionsgauge position
componentpositions.name?Regionsname position
componentpositions.value?Regionsvalue position
regions?{ center?: Region ; east?: Region ; north?: Region ; northeast?: Region ; northwest?: Region ; south?: Region ; southeast?: Region ; southwest?: Region ; west?: Region }layout regions
regions.center?Regioncentral region
regions.east?Regioneast region
regions.north?Regionnorth region
regions.northeast?Regionnortheast region
regions.northwest?Regionnorthwest region
regions.south?Regionsouth region
regions.southeast?Regionsoutheast region
regions.southwest?Regionsouthwest region
regions.west?Regionwest region
sides?{ east?: number ; north?: number ; south?: number ; west?: number }layout sides
sides.east?numberright position
sides.north?numbertop position
sides.south?numberbottom position
sides.west?numberleft position

OptionsOut

Ƭ OptionsOut: Object

properties

Type declaration

NameTypeDescription
boundsRectlayout bounds
componentpositions{ gauge: Regions | string ; name: Regions | string ; value: Regions | string }component positions
componentpositions.gaugeRegions | stringgauge position
componentpositions.nameRegions | stringname position
componentpositions.valueRegions | stringvalue position
regions{ center: OptionsOut ; east: OptionsOut ; north: OptionsOut ; northeast: OptionsOut ; northwest: OptionsOut ; south: OptionsOut ; southeast: OptionsOut ; southwest: OptionsOut ; west: OptionsOut }layout regions
regions.centerOptionsOutcentral region options
regions.eastOptionsOuteast region options
regions.northOptionsOutnorth region options
regions.northeastOptionsOutnortheast region options
regions.northwestOptionsOutnorthwest region options
regions.southOptionsOutsouth region options
regions.southeastOptionsOutsoutheast region options
regions.southwestOptionsOutsouthwest region options
regions.westOptionsOutwest region options
sides{ east: number ; north: number ; south: number ; west: number }layout sides
sides.eastnumberright position
sides.northnumbertop position
sides.southnumberbottom position
sides.westnumberleft position

Region

Ƭ Region: Object

JSON with CSS properties

Type declaration

NameTypeDescription
height?number | stringHeight of the region relative to its parent
width?number | stringWidth of the region relative to its parent
x?number | stringX of the region relative to its parent
y?number | stringY of the region relative to its parent