LayoutManager

class cee.LayoutManager()

Constructors


Constructors

constructor

cee.LayoutManager.constructor(pixelConverter, viewport)
Arguments
  • pixelConverter (PixelConverter) –

  • viewport (Viewport) –

Return type

cee.LayoutManager

Methods

addOverlayItem

cee.LayoutManager.addOverlayItem(overlayItem, pos, cssMarginX, cssMarginY, index)
Arguments
  • overlayItem (OverlayItem) –

  • pos (cee.OverlayItemPosition) –

  • cssMarginX (number) –

  • cssMarginY (number) –

  • index (number) –

Return type

number

assignRemainingSpace

cee.LayoutManager.assignRemainingSpace(overlayItems, pos, cssMarginX, cssMarginY, cssItemWidth, cssMaxItemHeight)
Arguments
  • overlayItems ([cee.SizableOverlayItem]) –

  • pos (cee.OverlayItemPosition) –

  • cssMarginX (number) –

  • cssMarginY (number) –

  • cssItemWidth (number) –

  • cssMaxItemHeight (number) –

Return type

void

isLeft

cee.LayoutManager.isLeft(pos)
Arguments
  • pos (cee.OverlayItemPosition) –

Return type

boolean

layoutItems

cee.LayoutManager.layoutItems()
Return type

void