iwmlib/doc/out/pixi_app.js.html

3408 lines
126 KiB
HTML
Raw Normal View History

2019-03-29 08:49:53 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>iwmlib API Documentation</title>
<meta name="description" content="The IWM Browser: One Browser for all apps." />
<meta property="og:title" content="iwmlib API Documentation"/>
<meta property="og:type" content="website"/>
<meta property="og:image" content=""/>
<meta property="og:url" content="https://www.iwm-tuebingen.de"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="scripts/prettify/prettify.js"></script>
<script src="scripts/prettify/lang-css.js"></script>
<script src="scripts/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="https://fonts.googleapis.com/css?family=Libre+Franklin:400,700" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="styles/main.css">
<script>
var config = {"monospaceLinks":false,"cleverLinks":false,"applicationName":"iwmlib","disqus":"","googleAnalytics":"","openGraph":{"title":"iwmlib API Documentation","type":"website","image":"","site_name":"","url":"https://www.iwm-tuebingen.de"},"meta":{"title":"iwmlib API Documentation","description":"The IWM Browser: One Browser for all apps.","keyword":""},"linenums":true,"cleverlinks":true,"default":{"outputSourceFiles":true,"useLongnameInNav":false}};
</script>
</head>
<body>
<div id="wrap" class="clearfix">
<div class="navigation">
<h3 class="applicationName"><a href="index.html">iwmlib</a></h3>
<button id="menuToggle" class="btn btn-link btn-lg menu-toggle">
<span class="glyphicon glyphicon-menu-hamburger"></span>
</button>
<div class="search">
<input id="search" type="text" class="form-control input-md" placeholder="Search...">
</div>
<ul class="list">
<li class="item" data-name="global">
<span class="title namespace ">
<span class="namespaceTag">
<span class="glyphicon glyphicon-globe"></span>
</span>
<a href="global.html">Global</a>
</span>
<ul class="members itemMembers">
2019-12-11 15:29:59 +01:00
<span class="subtitle">Members</span>
<li class="parent " data-name="labelMultiLineAlign"><a href="global.html#labelMultiLineAlign">labelMultiLineAlign</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
<span class="subtitle">Typedefs</span>
<li class="parent" data-name="actionActiveCallback"><a href="global.html#actionActiveCallback">actionActiveCallback</a></li>
<li class="parent" data-name="actionCallback"><a href="global.html#actionCallback">actionCallback</a></li>
<li class="parent" data-name="actionCallback"><a href="global.html#actionCallback">actionCallback</a></li>
<li class="parent" data-name="afterActionCallback"><a href="global.html#afterActionCallback">afterActionCallback</a></li>
<li class="parent" data-name="afterActionCallback"><a href="global.html#afterActionCallback">afterActionCallback</a></li>
<li class="parent" data-name="beforeActionCallback"><a href="global.html#beforeActionCallback">beforeActionCallback</a></li>
<li class="parent" data-name="beforeActionCallback"><a href="global.html#beforeActionCallback">beforeActionCallback</a></li>
2019-12-11 15:29:59 +01:00
<li class="parent" data-name="CoordinatePoint"><a href="global.html#CoordinatePoint">CoordinatePoint</a></li>
<li class="parent" data-name="Frame"><a href="global.html#Frame">Frame</a></li>
<li class="parent" data-name="KeyCode"><a href="global.html#KeyCode">KeyCode</a></li>
<li class="parent" data-name="KeyCodePairs"><a href="global.html#KeyCodePairs">KeyCodePairs</a></li>
2019-03-29 08:49:53 +01:00
<li class="parent" data-name="onCompleteCallback"><a href="global.html#onCompleteCallback">onCompleteCallback</a></li>
<li class="parent" data-name="onCompleteCallback"><a href="global.html#onCompleteCallback">onCompleteCallback</a></li>
<li class="parent" data-name="onStartCallback"><a href="global.html#onStartCallback">onStartCallback</a></li>
<li class="parent" data-name="onStartCallback"><a href="global.html#onStartCallback">onStartCallback</a></li>
<li class="parent" data-name="onUpdateCallback"><a href="global.html#onUpdateCallback">onUpdateCallback</a></li>
<li class="parent" data-name="onUpdateCallback"><a href="global.html#onUpdateCallback">onUpdateCallback</a></li>
2019-12-11 15:29:59 +01:00
<li class="parent" data-name="Point"><a href="global.html#Point">Point</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="AbstractPopup">
<span class="title ">
<a href="AbstractPopup.html">AbstractPopup</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="AbstractPopup#content"><a href="AbstractPopup.html#content">content</a></li>
<li class="parent " data-name="AbstractPopup#header"><a href="AbstractPopup.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="AbstractPopup#hide"><a href="AbstractPopup.html#hide">hide</a></li>
<li class="parent " data-name="AbstractPopup#layout"><a href="AbstractPopup.html#layout">layout</a></li>
<li class="parent " data-name="AbstractPopup#show"><a href="AbstractPopup.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="AdvancedScatter">
<span class="title ">
<a href="AdvancedScatter.html">AdvancedScatter</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="AdvancedScatter#animateThrow"><a href="AdvancedScatter.html#animateThrow">animateThrow</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="Badge">
<span class="title ">
<a href="Badge.html">Badge</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="Badge#content"><a href="Badge.html#content">content</a></li>
<li class=" " data-name="Badge#header"><a href="Badge.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="Badge#hide"><a href="Badge.html#hide">hide</a></li>
<li class=" " data-name="Badge#layout"><a href="Badge.html#layout">layout</a></li>
<li class=" " data-name="Badge#show"><a href="Badge.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="BlurFilter">
<span class="title ">
<a href="BlurFilter.html">BlurFilter</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="BlurFilter#blur"><a href="BlurFilter.html#blur">blur</a></li>
<li class="parent " data-name="BlurFilter#shape"><a href="BlurFilter.html#shape">shape</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="Button">
<span class="title ">
<a href="Button.html">Button</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Button#active"><a href="Button.html#active">active</a></li>
<li class="parent " data-name="Button#disabled"><a href="Button.html#disabled">disabled</a></li>
<li class="parent " data-name="Button#iconColor"><a href="Button.html#iconColor">iconColor</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Button#capture"><a href="Button.html#capture">capture</a></li>
<li class="parent " data-name="Button#hide"><a href="Button.html#hide">hide</a></li>
<li class="parent " data-name="Button#layout"><a href="Button.html#layout">layout</a></li>
<li class="parent " data-name="Button#show"><a href="Button.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ButtonGroup">
<span class="title ">
<a href="ButtonGroup.html">ButtonGroup</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="ButtonGroup#disabled"><a href="ButtonGroup.html#disabled">disabled</a></li>
<li class="parent " data-name="ButtonGroup#maxHeight"><a href="ButtonGroup.html#maxHeight">maxHeight</a></li>
<li class="parent " data-name="ButtonGroup#maxWidth"><a href="ButtonGroup.html#maxWidth">maxWidth</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="ButtonGroup#capture"><a href="ButtonGroup.html#capture">capture</a></li>
<li class="parent " data-name="ButtonGroup#hide"><a href="ButtonGroup.html#hide">hide</a></li>
<li class="parent " data-name="ButtonGroup#layout"><a href="ButtonGroup.html#layout">layout</a></li>
<li class="parent " data-name="ButtonGroup#show"><a href="ButtonGroup.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="CompactScatter">
<span class="title ">
<a href="CompactScatter.html">CompactScatter</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="CoverScatter">
<span class="title ">
<a href="CoverScatter.html">CoverScatter</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomImage">
<span class="title ">
<a href="DeepZoomImage.html">DeepZoomImage</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="DeepZoomImage#baseSize"><a href="DeepZoomImage.html#baseSize">baseSize</a></li>
<li class="parent " data-name="DeepZoomImage#foreground"><a href="DeepZoomImage.html#foreground">foreground</a></li>
<li class="parent " data-name="DeepZoomImage#height"><a href="DeepZoomImage.html#height">height</a></li>
<li class="parent " data-name="DeepZoomImage#maxScale"><a href="DeepZoomImage.html#maxScale">maxScale</a></li>
<li class="parent " data-name="DeepZoomImage#pixelSize"><a href="DeepZoomImage.html#pixelSize">pixelSize</a></li>
<li class="parent " data-name="DeepZoomImage#width"><a href="DeepZoomImage.html#width">width</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="DeepZoomImage#_calculateBounds"><a href="DeepZoomImage.html#_calculateBounds">_calculateBounds</a></li>
<li class="parent " data-name="DeepZoomImage#_createTiles"><a href="DeepZoomImage.html#_createTiles">_createTiles</a></li>
<li class="parent " data-name="DeepZoomImage#activate"><a href="DeepZoomImage.html#activate">activate</a></li>
<li class="parent " data-name="DeepZoomImage#addTiles"><a href="DeepZoomImage.html#addTiles">addTiles</a></li>
<li class="parent " data-name="DeepZoomImage#allTiles"><a href="DeepZoomImage.html#allTiles">allTiles</a></li>
<li class="parent " data-name="DeepZoomImage#bringTilesToFront"><a href="DeepZoomImage.html#bringTilesToFront">bringTilesToFront</a></li>
<li class="parent " data-name="DeepZoomImage#calculateBounds"><a href="DeepZoomImage.html#calculateBounds">calculateBounds</a></li>
<li class="parent " data-name="DeepZoomImage#changedTiles"><a href="DeepZoomImage.html#changedTiles">changedTiles</a></li>
<li class="parent " data-name="DeepZoomImage#deactivate"><a href="DeepZoomImage.html#deactivate">deactivate</a></li>
<li class="parent " data-name="DeepZoomImage#destroyObsoleteTiles"><a href="DeepZoomImage.html#destroyObsoleteTiles">destroyObsoleteTiles</a></li>
<li class="parent " data-name="DeepZoomImage#destroyTiles"><a href="DeepZoomImage.html#destroyTiles">destroyTiles</a></li>
<li class="parent " data-name="DeepZoomImage#destroyTilesAboveLevel"><a href="DeepZoomImage.html#destroyTilesAboveLevel">destroyTilesAboveLevel</a></li>
<li class="parent " data-name="DeepZoomImage#destroyUnneededTiles"><a href="DeepZoomImage.html#destroyUnneededTiles">destroyUnneededTiles</a></li>
<li class="parent " data-name="DeepZoomImage#ensureAllTiles"><a href="DeepZoomImage.html#ensureAllTiles">ensureAllTiles</a></li>
<li class="parent " data-name="DeepZoomImage#ensureTiles"><a href="DeepZoomImage.html#ensureTiles">ensureTiles</a></li>
<li class="parent " data-name="DeepZoomImage#levelAndAlphaForScale"><a href="DeepZoomImage.html#levelAndAlphaForScale">levelAndAlphaForScale</a></li>
<li class="parent " data-name="DeepZoomImage#levelForScale"><a href="DeepZoomImage.html#levelForScale">levelForScale</a></li>
<li class="parent " data-name="DeepZoomImage#neededTiles"><a href="DeepZoomImage.html#neededTiles">neededTiles</a></li>
<li class="parent " data-name="DeepZoomImage#populateAllTiles"><a href="DeepZoomImage.html#populateAllTiles">populateAllTiles</a></li>
<li class="parent " data-name="DeepZoomImage#populateTiles"><a href="DeepZoomImage.html#populateTiles">populateTiles</a></li>
<li class="parent " data-name="DeepZoomImage#setup"><a href="DeepZoomImage.html#setup">setup</a></li>
<li class="parent " data-name="DeepZoomImage#setupTiles"><a href="DeepZoomImage.html#setupTiles">setupTiles</a></li>
<li class="parent " data-name="DeepZoomImage#thumbnail"><a href="DeepZoomImage.html#thumbnail">thumbnail</a></li>
<li class="parent " data-name="DeepZoomImage#tintObsoleteTiles"><a href="DeepZoomImage.html#tintObsoleteTiles">tintObsoleteTiles</a></li>
<li class="parent " data-name="DeepZoomImage#transformed"><a href="DeepZoomImage.html#transformed">transformed</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomInfo">
<span class="title ">
<a href="DeepZoomInfo.html">DeepZoomInfo</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="DeepZoomInfo#dimensions"><a href="DeepZoomInfo.html#dimensions">dimensions</a></li>
<li class="parent " data-name="DeepZoomInfo#getDimensions"><a href="DeepZoomInfo.html#getDimensions">getDimensions</a></li>
<li class="parent " data-name="DeepZoomInfo#getNumTiles"><a href="DeepZoomInfo.html#getNumTiles">getNumTiles</a></li>
<li class="parent " data-name="DeepZoomInfo#getScale"><a href="DeepZoomInfo.html#getScale">getScale</a></li>
<li class="parent " data-name="DeepZoomInfo#imageForURL"><a href="DeepZoomInfo.html#imageForURL">imageForURL</a></li>
<li class="parent " data-name="DeepZoomInfo#urlForTile"><a href="DeepZoomInfo.html#urlForTile">urlForTile</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomMap">
<span class="title ">
<a href="DeepZoomMap.html">DeepZoomMap</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="DeepZoomMap#image"><a href="DeepZoomMap.html#image">image</a></li>
<li class=" " data-name="DeepZoomMap#mapProjection"><a href="DeepZoomMap.html#mapProjection">mapProjection</a></li>
2019-12-11 15:29:59 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="DeepZoomMap#clone"><a href="DeepZoomMap.html#clone">clone</a></li>
<li class=" " data-name="DeepZoomMap#coordinatesFromPoint"><a href="DeepZoomMap.html#coordinatesFromPoint">coordinatesFromPoint</a></li>
<li class=" " data-name="DeepZoomMap#coordinatesInWindow"><a href="DeepZoomMap.html#coordinatesInWindow">coordinatesInWindow</a></li>
<li class=" " data-name="DeepZoomMap#coordinatesToPoint"><a href="DeepZoomMap.html#coordinatesToPoint">coordinatesToPoint</a></li>
<li class=" " data-name="DeepZoomMap#flushHandlers"><a href="DeepZoomMap.html#flushHandlers">flushHandlers</a></li>
<li class=" " data-name="DeepZoomMap#getFrame"><a href="DeepZoomMap.html#getFrame">getFrame</a></li>
<li class=" " data-name="DeepZoomMap#lock"><a href="DeepZoomMap.html#lock">lock</a></li>
<li class="parent " data-name="DeepZoomMap#moveTo"><a href="DeepZoomMap.html#moveTo">moveTo</a></li>
<li class=" " data-name="DeepZoomMap#positionInWindow"><a href="DeepZoomMap.html#positionInWindow">positionInWindow</a></li>
<li class=" " data-name="DeepZoomMap#reloadImage"><a href="DeepZoomMap.html#reloadImage">reloadImage</a></li>
<li class=" " data-name="DeepZoomMap#remove"><a href="DeepZoomMap.html#remove">remove</a></li>
<li class=" " data-name="DeepZoomMap#setFrame"><a href="DeepZoomMap.html#setFrame">setFrame</a></li>
<li class=" " data-name="DeepZoomMap#unload"><a href="DeepZoomMap.html#unload">unload</a></li>
<li class=" " data-name="DeepZoomMap#unloadImage"><a href="DeepZoomMap.html#unloadImage">unloadImage</a></li>
<li class=" " data-name="DeepZoomMap#unlock"><a href="DeepZoomMap.html#unlock">unlock</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomMap#DeepZoomMap">
<span class="title ">
<a href="DeepZoomMap_DeepZoomMap.html">DeepZoomMap#DeepZoomMap</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomMapGeoMap">
2019-12-11 15:29:59 +01:00
<span class="title ">
<a href="DeepZoomMapGeoMap.html">DeepZoomMapGeoMap</a>
2019-12-11 15:29:59 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomMapProjection">
2019-12-11 15:29:59 +01:00
<span class="title ">
<a href="DeepZoomMapProjection.html">DeepZoomMapProjection</a>
2019-12-11 15:29:59 +01:00
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="DeepZoomMapProjection#clip"><a href="DeepZoomMapProjection.html#clip">clip</a></li>
<li class=" " data-name="DeepZoomMapProjection#maxViewport"><a href="DeepZoomMapProjection.html#maxViewport">maxViewport</a></li>
<li class=" " data-name="DeepZoomMapProjection#projection"><a href="DeepZoomMapProjection.html#projection">projection</a></li>
2019-12-11 15:29:59 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="DeepZoomMapProjection#toCoordinates"><a href="DeepZoomMapProjection.html#toCoordinates">toCoordinates</a></li>
<li class=" " data-name="DeepZoomMapProjection#toPixel"><a href="DeepZoomMapProjection.html#toPixel">toPixel</a></li>
2019-12-11 15:29:59 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="DeepZoomMapProjectionMapProjection">
2019-12-11 15:29:59 +01:00
<span class="title ">
<a href="DeepZoomMapProjectionMapProjection.html">DeepZoomMapProjectionMapProjection</a>
2019-12-11 15:29:59 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="EventHandler">
<span class="title ">
<a href="EventHandler.html">EventHandler</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="EventHandler.exports.EventHandler">
<span class="title ">
<a href="EventHandler.exports.EventHandler.html">EventHandler.exports.EventHandler</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Flippable">
<span class="title ">
<a href="Flippable.html">Flippable</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Flippable#flipped"><a href="Flippable.html#flipped">flipped</a></li>
<li class="parent " data-name="Flippable#frontSideInFront"><a href="Flippable.html#frontSideInFront">frontSideInFront</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Flippable#layout"><a href="Flippable.html#layout">layout</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="FontInfo">
<span class="title ">
<a href="FontInfo.html">FontInfo</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoFlagLabel">
<span class="title ">
<a href="GeoFlagLabel.html">GeoFlagLabel</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoJson">
<span class="title ">
<a href="GeoJson.html">GeoJson</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="GeoJson.unwrapFeatureCollection"><a href="GeoJson.html#.unwrapFeatureCollection">unwrapFeatureCollection</a></li>
<li class="parent " data-name="GeoJson.validateAndConvert"><a href="GeoJson.html#.validateAndConvert">validateAndConvert</a></li>
<li class="parent " data-name="GeoJson.validateAndConvertPoint"><a href="GeoJson.html#.validateAndConvertPoint">validateAndConvertPoint</a></li>
<li class="parent " data-name="GeoJson.validateLineString"><a href="GeoJson.html#.validateLineString">validateLineString</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoLine">
<span class="title ">
<a href="GeoLine.html">GeoLine</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoLine#coordinates"><a href="GeoLine.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoLine#map"><a href="GeoLine.html#map">map</a></li>
<li class=" " data-name="GeoLine#mapLayer"><a href="GeoLine.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoLine#points"><a href="GeoLine.html#points">points</a></li>
<li class=" " data-name="GeoLine#position"><a href="GeoLine.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="GeoLine#_adaptCoordinates"><a href="GeoLine.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class=" " data-name="GeoLine#_draw"><a href="GeoLine.html#_draw">_draw</a></li>
<li class=" " data-name="GeoLine#_getPoints"><a href="GeoLine.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoLine#_manipulatePoints"><a href="GeoLine.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoLine#adaptTo"><a href="GeoLine.html#adaptTo">adaptTo</a></li>
<li class="parent " data-name="GeoLine#addPoint"><a href="GeoLine.html#addPoint">addPoint</a></li>
<li class=" " data-name="GeoLine#draw"><a href="GeoLine.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoLine#GeoLine">
<span class="title ">
<a href="GeoLine_GeoLine.html">GeoLine#GeoLine</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoMap">
<span class="title ">
<a href="GeoMap.html">GeoMap</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="GeoMap#image"><a href="GeoMap.html#image">image</a></li>
<li class="parent " data-name="GeoMap#mapProjection"><a href="GeoMap.html#mapProjection">mapProjection</a></li>
2019-12-11 15:29:59 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="GeoMap.allFromJson"><a href="GeoMap.html#.allFromJson">allFromJson</a></li>
<li class="parent " data-name="GeoMap.mapFromJson"><a href="GeoMap.html#.mapFromJson">mapFromJson</a></li>
<li class="parent " data-name="GeoMap#clone"><a href="GeoMap.html#clone">clone</a></li>
<li class="parent " data-name="GeoMap#coordinatesFromPoint"><a href="GeoMap.html#coordinatesFromPoint">coordinatesFromPoint</a></li>
<li class="parent " data-name="GeoMap#coordinatesInWindow"><a href="GeoMap.html#coordinatesInWindow">coordinatesInWindow</a></li>
<li class="parent " data-name="GeoMap#coordinatesToPoint"><a href="GeoMap.html#coordinatesToPoint">coordinatesToPoint</a></li>
<li class="parent " data-name="GeoMap#flushHandlers"><a href="GeoMap.html#flushHandlers">flushHandlers</a></li>
<li class="parent " data-name="GeoMap#getFrame"><a href="GeoMap.html#getFrame">getFrame</a></li>
<li class="parent " data-name="GeoMap#lock"><a href="GeoMap.html#lock">lock</a></li>
<li class="parent " data-name="GeoMap#moveTo"><a href="GeoMap.html#moveTo">moveTo</a></li>
<li class="parent " data-name="GeoMap#positionInWindow"><a href="GeoMap.html#positionInWindow">positionInWindow</a></li>
<li class="parent " data-name="GeoMap#reloadImage"><a href="GeoMap.html#reloadImage">reloadImage</a></li>
<li class="parent " data-name="GeoMap#remove"><a href="GeoMap.html#remove">remove</a></li>
<li class="parent " data-name="GeoMap#setFrame"><a href="GeoMap.html#setFrame">setFrame</a></li>
<li class="parent " data-name="GeoMap#unload"><a href="GeoMap.html#unload">unload</a></li>
<li class="parent " data-name="GeoMap#unloadImage"><a href="GeoMap.html#unloadImage">unloadImage</a></li>
<li class="parent " data-name="GeoMap#unlock"><a href="GeoMap.html#unlock">unlock</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoMultiGraphics">
<span class="title ">
<a href="GeoMultiGraphics.html">GeoMultiGraphics</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoMultiGraphics#coordinates"><a href="GeoMultiGraphics.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoMultiGraphics#map"><a href="GeoMultiGraphics.html#map">map</a></li>
<li class=" " data-name="GeoMultiGraphics#mapLayer"><a href="GeoMultiGraphics.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoMultiGraphics#points"><a href="GeoMultiGraphics.html#points">points</a></li>
<li class=" " data-name="GeoMultiGraphics#position"><a href="GeoMultiGraphics.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="GeoMultiGraphics#_adaptCoordinates"><a href="GeoMultiGraphics.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class="parent " data-name="GeoMultiGraphics#_draw"><a href="GeoMultiGraphics.html#_draw">_draw</a></li>
<li class="parent " data-name="GeoMultiGraphics#_getPoints"><a href="GeoMultiGraphics.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoMultiGraphics#_manipulatePoints"><a href="GeoMultiGraphics.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoMultiGraphics#adaptTo"><a href="GeoMultiGraphics.html#adaptTo">adaptTo</a></li>
<li class=" " data-name="GeoMultiGraphics#draw"><a href="GeoMultiGraphics.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoMultiShape">
<span class="title ">
<a href="GeoMultiShape.html">GeoMultiShape</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoMultiShape#coordinates"><a href="GeoMultiShape.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoMultiShape#map"><a href="GeoMultiShape.html#map">map</a></li>
<li class=" " data-name="GeoMultiShape#mapLayer"><a href="GeoMultiShape.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoMultiShape#points"><a href="GeoMultiShape.html#points">points</a></li>
<li class=" " data-name="GeoMultiShape#position"><a href="GeoMultiShape.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="GeoMultiShape#_adaptCoordinates"><a href="GeoMultiShape.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class=" " data-name="GeoMultiShape#_draw"><a href="GeoMultiShape.html#_draw">_draw</a></li>
<li class=" " data-name="GeoMultiShape#_drawShape"><a href="GeoMultiShape.html#_drawShape">_drawShape</a></li>
<li class=" " data-name="GeoMultiShape#_getPoints"><a href="GeoMultiShape.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoMultiShape#_manipulatePoints"><a href="GeoMultiShape.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoMultiShape#adaptTo"><a href="GeoMultiShape.html#adaptTo">adaptTo</a></li>
<li class=" " data-name="GeoMultiShape#draw"><a href="GeoMultiShape.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoPoint">
<span class="title ">
<a href="GeoPoint.html">GeoPoint</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoPoint#coordinates"><a href="GeoPoint.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoPoint#map"><a href="GeoPoint.html#map">map</a></li>
<li class=" " data-name="GeoPoint#mapLayer"><a href="GeoPoint.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoPoint#points"><a href="GeoPoint.html#points">points</a></li>
<li class=" " data-name="GeoPoint#position"><a href="GeoPoint.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="GeoPoint#_adaptCoordinates"><a href="GeoPoint.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class=" " data-name="GeoPoint#_draw"><a href="GeoPoint.html#_draw">_draw</a></li>
<li class=" " data-name="GeoPoint#_getPoints"><a href="GeoPoint.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoPoint#_manipulatePoints"><a href="GeoPoint.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoPoint#adaptTo"><a href="GeoPoint.html#adaptTo">adaptTo</a></li>
<li class=" " data-name="GeoPoint#draw"><a href="GeoPoint.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoShape">
<span class="title ">
<a href="GeoShape.html">GeoShape</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoShape#coordinates"><a href="GeoShape.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoShape#map"><a href="GeoShape.html#map">map</a></li>
<li class=" " data-name="GeoShape#mapLayer"><a href="GeoShape.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoShape#points"><a href="GeoShape.html#points">points</a></li>
<li class=" " data-name="GeoShape#position"><a href="GeoShape.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="GeoShape._getPointsFrom"><a href="GeoShape.html#._getPointsFrom">_getPointsFrom</a></li>
<li class="parent " data-name="GeoShape._manipulatePoints"><a href="GeoShape.html#._manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoShape#_adaptCoordinates"><a href="GeoShape.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class=" " data-name="GeoShape#_draw"><a href="GeoShape.html#_draw">_draw</a></li>
<li class="parent " data-name="GeoShape#_drawShape"><a href="GeoShape.html#_drawShape">_drawShape</a></li>
<li class=" " data-name="GeoShape#_getPoints"><a href="GeoShape.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoShape#_manipulatePoints"><a href="GeoShape.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoShape#adaptTo"><a href="GeoShape.html#adaptTo">adaptTo</a></li>
<li class=" " data-name="GeoShape#draw"><a href="GeoShape.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoText">
<span class="title ">
<a href="GeoText.html">GeoText</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="GeoText#coordinates"><a href="GeoText.html#coordinates">coordinates</a></li>
<li class=" " data-name="GeoText#map"><a href="GeoText.html#map">map</a></li>
<li class=" " data-name="GeoText#mapLayer"><a href="GeoText.html#mapLayer">mapLayer</a></li>
<li class=" " data-name="GeoText#points"><a href="GeoText.html#points">points</a></li>
<li class=" " data-name="GeoText#position"><a href="GeoText.html#position">position</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="GeoText#_adaptCoordinates"><a href="GeoText.html#_adaptCoordinates">_adaptCoordinates</a></li>
<li class=" " data-name="GeoText#_draw"><a href="GeoText.html#_draw">_draw</a></li>
<li class=" " data-name="GeoText#_getPoints"><a href="GeoText.html#_getPoints">_getPoints</a></li>
<li class=" " data-name="GeoText#_manipulatePoints"><a href="GeoText.html#_manipulatePoints">_manipulatePoints</a></li>
<li class=" " data-name="GeoText#adaptTo"><a href="GeoText.html#adaptTo">adaptTo</a></li>
<li class=" " data-name="GeoText#draw"><a href="GeoText.html#draw">draw</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="GeoUtils">
<span class="title ">
<a href="GeoUtils.html">GeoUtils</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Hypenate">
<span class="title ">
<a href="Hypenate.html">Hypenate</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Hypenate.splitLines"><a href="Hypenate.html#.splitLines">splitLines</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ImageMap">
<span class="title ">
<a href="ImageMap.html">ImageMap</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="ImageMap#image"><a href="ImageMap.html#image">image</a></li>
<li class=" " data-name="ImageMap#mapProjection"><a href="ImageMap.html#mapProjection">mapProjection</a></li>
2019-12-11 15:29:59 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="ImageMap#clone"><a href="ImageMap.html#clone">clone</a></li>
<li class=" " data-name="ImageMap#coordinatesFromPoint"><a href="ImageMap.html#coordinatesFromPoint">coordinatesFromPoint</a></li>
<li class=" " data-name="ImageMap#coordinatesInWindow"><a href="ImageMap.html#coordinatesInWindow">coordinatesInWindow</a></li>
<li class=" " data-name="ImageMap#coordinatesToPoint"><a href="ImageMap.html#coordinatesToPoint">coordinatesToPoint</a></li>
<li class=" " data-name="ImageMap#flushHandlers"><a href="ImageMap.html#flushHandlers">flushHandlers</a></li>
<li class=" " data-name="ImageMap#getFrame"><a href="ImageMap.html#getFrame">getFrame</a></li>
<li class=" " data-name="ImageMap#lock"><a href="ImageMap.html#lock">lock</a></li>
<li class="parent " data-name="ImageMap#moveTo"><a href="ImageMap.html#moveTo">moveTo</a></li>
<li class=" " data-name="ImageMap#positionInWindow"><a href="ImageMap.html#positionInWindow">positionInWindow</a></li>
<li class=" " data-name="ImageMap#reloadImage"><a href="ImageMap.html#reloadImage">reloadImage</a></li>
<li class=" " data-name="ImageMap#remove"><a href="ImageMap.html#remove">remove</a></li>
<li class=" " data-name="ImageMap#setFrame"><a href="ImageMap.html#setFrame">setFrame</a></li>
<li class=" " data-name="ImageMap#unload"><a href="ImageMap.html#unload">unload</a></li>
<li class=" " data-name="ImageMap#unloadImage"><a href="ImageMap.html#unloadImage">unloadImage</a></li>
<li class=" " data-name="ImageMap#unlock"><a href="ImageMap.html#unlock">unlock</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ImageMapGeoMap">
<span class="title ">
<a href="ImageMapGeoMap.html">ImageMapGeoMap</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="InteractivePopup">
<span class="title ">
<a href="InteractivePopup.html">InteractivePopup</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="InteractivePopup#content"><a href="InteractivePopup.html#content">content</a></li>
<li class=" " data-name="InteractivePopup#header"><a href="InteractivePopup.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="InteractivePopup#hide"><a href="InteractivePopup.html#hide">hide</a></li>
<li class="parent " data-name="InteractivePopup#layout"><a href="InteractivePopup.html#layout">layout</a></li>
<li class=" " data-name="InteractivePopup#show"><a href="InteractivePopup.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="LabeledGraphics">
<span class="title ">
<a href="LabeledGraphics.html">LabeledGraphics</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="LabeledGraphics#clear"><a href="LabeledGraphics.html#clear">clear</a></li>
<li class="parent " data-name="LabeledGraphics#debugInfos"><a href="LabeledGraphics.html#debugInfos">debugInfos</a></li>
<li class="parent " data-name="LabeledGraphics#ensureLabel"><a href="LabeledGraphics.html#ensureLabel">ensureLabel</a></li>
<li class="parent " data-name="LabeledGraphics#getLabel"><a href="LabeledGraphics.html#getLabel">getLabel</a></li>
<li class="parent " data-name="LabeledGraphics#hideLabel"><a href="LabeledGraphics.html#hideLabel">hideLabel</a></li>
<li class="parent " data-name="LabeledGraphics#removeLabel"><a href="LabeledGraphics.html#removeLabel">removeLabel</a></li>
<li class="parent " data-name="LabeledGraphics#truncateLabel"><a href="LabeledGraphics.html#truncateLabel">truncateLabel</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="LabeledGraphics.exports.LabeledGraphics">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="LabeledGraphics.exports.LabeledGraphics.html">LabeledGraphics.exports.LabeledGraphics</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="List">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="List.html">List</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#innerHeight"><a href="List.html#innerHeight">innerHeight</a></li>
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#innerWidth"><a href="List.html#innerWidth">innerWidth</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#capture"><a href="List.html#capture">capture</a></li>
2019-07-31 16:12:00 +02:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#layout"><a href="List.html#layout">layout</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#resize"><a href="List.html#resize">resize</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="List#setItems"><a href="List.html#setItems">setItems</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapApp">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapApp.html">MapApp</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#center"><a href="MapApp.html#center">center</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#map"><a href="MapApp.html#map">map</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#mapLayer"><a href="MapApp.html#mapLayer">mapLayer</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#size"><a href="MapApp.html#size">size</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#addFpsDisplay"><a href="MapApp.html#addFpsDisplay">addFpsDisplay</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#addMap"><a href="MapApp.html#addMap">addMap</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#addMaps"><a href="MapApp.html#addMaps">addMaps</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#appendChild"><a href="MapApp.html#appendChild">appendChild</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#checkOrientation"><a href="MapApp.html#checkOrientation">checkOrientation</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#convertPointFromNodeToPage"><a href="MapApp.html#convertPointFromNodeToPage">convertPointFromNodeToPage</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#convertPointFromPageToNode"><a href="MapApp.html#convertPointFromPageToNode">convertPointFromPageToNode</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#draw"><a href="MapApp.html#draw">draw</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#expandRenderer"><a href="MapApp.html#expandRenderer">expandRenderer</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#layout"><a href="MapApp.html#layout">layout</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#loadSprites"><a href="MapApp.html#loadSprites">loadSprites</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#loadTextures"><a href="MapApp.html#loadTextures">loadTextures</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#locationToClipboard"><a href="MapApp.html#locationToClipboard">locationToClipboard</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#logMapBoundaries"><a href="MapApp.html#logMapBoundaries">logMapBoundaries</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#message"><a href="MapApp.html#message">message</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#modal"><a href="MapApp.html#modal">modal</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#mutate"><a href="MapApp.html#mutate">mutate</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#orientation"><a href="MapApp.html#orientation">orientation</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#orientationChanged"><a href="MapApp.html#orientationChanged">orientationChanged</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#pathToClipboard"><a href="MapApp.html#pathToClipboard">pathToClipboard</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#progress"><a href="MapApp.html#progress">progress</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#query"><a href="MapApp.html#query">query</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapApp#resize"><a href="MapApp.html#resize">resize</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#selectMap"><a href="MapApp.html#selectMap">selectMap</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapApp#setMap"><a href="MapApp.html#setMap">setMap</a></li>
<li class=" " data-name="MapApp#setup"><a href="MapApp.html#setup">setup</a></li>
<li class="parent " data-name="MapApp#showNotification"><a href="MapApp.html#showNotification">showNotification</a></li>
<li class=" " data-name="MapApp#subscribe"><a href="MapApp.html#subscribe">subscribe</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapApp.MapApp">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapApp.MapApp.html">MapApp.MapApp</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapLayer">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapLayer.html">MapLayer</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
2019-12-11 15:29:59 +01:00
<span class="subtitle">Members</span>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapLayer#map"><a href="MapLayer.html#map">map</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapLayer#mapLayer"><a href="MapLayer.html#mapLayer">mapLayer</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapLayer#mapview"><a href="MapLayer.html#mapview">mapview</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
2019-12-11 15:29:59 +01:00
<li class=" " data-name="MapLayer#addChild"><a href="MapLayer.html#addChild">addChild</a></li>
<li class=" " data-name="MapLayer#addLayer"><a href="MapLayer.html#addLayer">addLayer</a></li>
<li class="parent " data-name="MapLayer#changeMap"><a href="MapLayer.html#changeMap">changeMap</a></li>
<li class="parent " data-name="MapLayer#cleanup"><a href="MapLayer.html#cleanup">cleanup</a></li>
<li class="parent " data-name="MapLayer#clone"><a href="MapLayer.html#clone">clone</a></li>
<li class="parent " data-name="MapLayer#next"><a href="MapLayer.html#next">next</a></li>
<li class="parent " data-name="MapLayer#refocus"><a href="MapLayer.html#refocus">refocus</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapList">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapList.html">MapList</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapList#active"><a href="MapList.html#active">active</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapList#map"><a href="MapList.html#map">map</a></li>
<li class="parent " data-name="MapList#maps"><a href="MapList.html#maps">maps</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapList#add"><a href="MapList.html#add">add</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapList#cleanup"><a href="MapList.html#cleanup">cleanup</a></li>
2019-03-29 08:49:53 +01:00
2019-12-11 15:29:59 +01:00
<li class="parent " data-name="MapList#clone"><a href="MapList.html#clone">clone</a></li>
<li class="parent " data-name="MapList#next"><a href="MapList.html#next">next</a></li>
<li class="parent " data-name="MapList#select"><a href="MapList.html#select">select</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapObjectScatter">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapObjectScatter.html">MapObjectScatter</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="MapProjection">
<span class="title ">
<a href="MapProjection.html">MapProjection</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="MapProjection#clip"><a href="MapProjection.html#clip">clip</a></li>
<li class="parent " data-name="MapProjection#maxViewport"><a href="MapProjection.html#maxViewport">maxViewport</a></li>
<li class="parent " data-name="MapProjection#projection"><a href="MapProjection.html#projection">projection</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="MapProjection#toCoordinates"><a href="MapProjection.html#toCoordinates">toCoordinates</a></li>
<li class="parent " data-name="MapProjection#toPixel"><a href="MapProjection.html#toPixel">toPixel</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="MapViewport">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="MapViewport.html">MapViewport</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
2019-12-11 15:29:59 +01:00
<span class="subtitle">Members</span>
<li class="parent " data-name="MapViewport#focus"><a href="MapViewport.html#focus">focus</a></li>
<li class="parent " data-name="MapViewport#zoom"><a href="MapViewport.html#zoom">zoom</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
2019-12-11 15:29:59 +01:00
<span class="subtitle">Methods</span>
<li class="parent " data-name="MapViewport#apply"><a href="MapViewport.html#apply">apply</a></li>
<li class="parent " data-name="MapViewport#mapPointToWindowPoint"><a href="MapViewport.html#mapPointToWindowPoint">mapPointToWindowPoint</a></li>
<li class="parent " data-name="MapViewport#update"><a href="MapViewport.html#update">update</a></li>
<li class="parent " data-name="MapViewport#updateFocusPoint"><a href="MapViewport.html#updateFocusPoint">updateFocusPoint</a></li>
<li class="parent " data-name="MapViewport#updateZoom"><a href="MapViewport.html#updateZoom">updateZoom</a></li>
<li class="parent " data-name="MapViewport#windowPointToMapPoint"><a href="MapViewport.html#windowPointToMapPoint">windowPointToMapPoint</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="Mercator">
2019-03-29 08:49:53 +01:00
<span class="title ">
2019-12-11 15:29:59 +01:00
<a href="Mercator.html">Mercator</a>
2019-03-29 08:49:53 +01:00
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Message">
<span class="title ">
<a href="Message.html">Message</a>
</span>
<ul class="members itemMembers">
2019-05-14 14:03:32 +02:00
<span class="subtitle">Members</span>
<li class=" " data-name="Message#content"><a href="Message.html#content">content</a></li>
<li class=" " data-name="Message#header"><a href="Message.html#header">header</a></li>
2019-03-29 08:49:53 +01:00
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
2019-05-14 14:03:32 +02:00
<li class=" " data-name="Message#hide"><a href="Message.html#hide">hide</a></li>
2019-03-29 08:49:53 +01:00
<li class="parent " data-name="Message#layout"><a href="Message.html#layout">layout</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-05-14 14:03:32 +02:00
<li class="item" data-name="MessageInteractivePopup">
<span class="title ">
<a href="MessageInteractivePopup.html">MessageInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="MessageMessageInteractivePopup">
<span class="title ">
<a href="MessageMessageInteractivePopup.html">MessageMessageInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="Modal">
<span class="title ">
<a href="Modal.html">Modal</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Modal#content"><a href="Modal.html#content">content</a></li>
<li class="parent " data-name="Modal#header"><a href="Modal.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Modal#hide"><a href="Modal.html#hide">hide</a></li>
<li class="parent " data-name="Modal#layout"><a href="Modal.html#layout">layout</a></li>
<li class="parent " data-name="Modal#show"><a href="Modal.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-05-14 14:03:32 +02:00
<li class="item" data-name="ModalInteractivePopup">
<span class="title ">
<a href="ModalInteractivePopup.html">ModalInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ModalModalInteractivePopup">
<span class="title ">
<a href="ModalModalInteractivePopup.html">ModalModalInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="Overlay">
<span class="title ">
<a href="Overlay.html">Overlay</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Overlay#create"><a href="Overlay.html#create">create</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="PIXIApp">
<span class="title ">
<a href="PIXIApp.html">PIXIApp</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="PIXIApp#center"><a href="PIXIApp.html#center">center</a></li>
<li class="parent " data-name="PIXIApp#size"><a href="PIXIApp.html#size">size</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="PIXIApp#addFpsDisplay"><a href="PIXIApp.html#addFpsDisplay">addFpsDisplay</a></li>
<li class="parent " data-name="PIXIApp#checkOrientation"><a href="PIXIApp.html#checkOrientation">checkOrientation</a></li>
<li class="parent " data-name="PIXIApp#convertPointFromNodeToPage"><a href="PIXIApp.html#convertPointFromNodeToPage">convertPointFromNodeToPage</a></li>
<li class="parent " data-name="PIXIApp#convertPointFromPageToNode"><a href="PIXIApp.html#convertPointFromPageToNode">convertPointFromPageToNode</a></li>
<li class="parent " data-name="PIXIApp#draw"><a href="PIXIApp.html#draw">draw</a></li>
<li class="parent " data-name="PIXIApp#expandRenderer"><a href="PIXIApp.html#expandRenderer">expandRenderer</a></li>
<li class="parent " data-name="PIXIApp#layout"><a href="PIXIApp.html#layout">layout</a></li>
<li class="parent " data-name="PIXIApp#loadSprites"><a href="PIXIApp.html#loadSprites">loadSprites</a></li>
<li class="parent " data-name="PIXIApp#loadTextures"><a href="PIXIApp.html#loadTextures">loadTextures</a></li>
<li class="parent " data-name="PIXIApp#message"><a href="PIXIApp.html#message">message</a></li>
<li class="parent " data-name="PIXIApp#modal"><a href="PIXIApp.html#modal">modal</a></li>
<li class="parent " data-name="PIXIApp#mutate"><a href="PIXIApp.html#mutate">mutate</a></li>
<li class="parent " data-name="PIXIApp#orientation"><a href="PIXIApp.html#orientation">orientation</a></li>
<li class="parent " data-name="PIXIApp#orientationChanged"><a href="PIXIApp.html#orientationChanged">orientationChanged</a></li>
<li class="parent " data-name="PIXIApp#progress"><a href="PIXIApp.html#progress">progress</a></li>
<li class="parent " data-name="PIXIApp#query"><a href="PIXIApp.html#query">query</a></li>
<li class="parent " data-name="PIXIApp#resize"><a href="PIXIApp.html#resize">resize</a></li>
<li class="parent " data-name="PIXIApp#setup"><a href="PIXIApp.html#setup">setup</a></li>
<li class="parent " data-name="PIXIApp#subscribe"><a href="PIXIApp.html#subscribe">subscribe</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Popup">
<span class="title ">
<a href="Popup.html">Popup</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="Popup#content"><a href="Popup.html#content">content</a></li>
<li class=" " data-name="Popup#header"><a href="Popup.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="Popup#hide"><a href="Popup.html#hide">hide</a></li>
<li class=" " data-name="Popup#layout"><a href="Popup.html#layout">layout</a></li>
<li class=" " data-name="Popup#show"><a href="Popup.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-05-14 14:03:32 +02:00
<li class="item" data-name="PopupInteractivePopup">
<span class="title ">
<a href="PopupInteractivePopup.html">PopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="PopupMenu">
<span class="title ">
<a href="PopupMenu.html">PopupMenu</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="PopupMenu#content"><a href="PopupMenu.html#content">content</a></li>
<li class=" " data-name="PopupMenu#header"><a href="PopupMenu.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="PopupMenu#hide"><a href="PopupMenu.html#hide">hide</a></li>
<li class=" " data-name="PopupMenu#layout"><a href="PopupMenu.html#layout">layout</a></li>
<li class=" " data-name="PopupMenu#show"><a href="PopupMenu.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-05-14 14:03:32 +02:00
<li class="item" data-name="PopupMenuPopupInteractivePopup">
<span class="title ">
<a href="PopupMenuPopupInteractivePopup.html">PopupMenuPopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="PopupMenuPopupMenuPopupInteractivePopup">
<span class="title ">
<a href="PopupMenuPopupMenuPopupInteractivePopup.html">PopupMenuPopupMenuPopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="PopupMenuPopupMenuPopupPopupInteractivePopup">
<span class="title ">
<a href="PopupMenuPopupMenuPopupPopupInteractivePopup.html">PopupMenuPopupMenuPopupPopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="PopupMenuPopupPopupInteractivePopup">
<span class="title ">
<a href="PopupMenuPopupPopupInteractivePopup.html">PopupMenuPopupPopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="PopupPopupInteractivePopup">
<span class="title ">
<a href="PopupPopupInteractivePopup.html">PopupPopupInteractivePopup</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="Progress">
<span class="title ">
<a href="Progress.html">Progress</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Progress#progress"><a href="Progress.html#progress">progress</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Progress#hide"><a href="Progress.html#hide">hide</a></li>
<li class="parent " data-name="Progress#layout"><a href="Progress.html#layout">layout</a></li>
<li class="parent " data-name="Progress#show"><a href="Progress.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-12-11 15:29:59 +01:00
<li class="item" data-name="Projection">
<span class="title ">
<a href="Projection.html">Projection</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Projection#backward"><a href="Projection.html#backward">backward</a></li>
<li class="parent " data-name="Projection#forward"><a href="Projection.html#forward">forward</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-05-14 14:03:32 +02:00
<li class="item" data-name="Scrollview">
<span class="title ">
<a href="Scrollview.html">Scrollview</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Scrollview#layout"><a href="Scrollview.html#layout">layout</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
2019-03-29 08:49:53 +01:00
<li class="item" data-name="Slider">
<span class="title ">
<a href="Slider.html">Slider</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Slider#disabled"><a href="Slider.html#disabled">disabled</a></li>
<li class="parent " data-name="Slider#value"><a href="Slider.html#value">value</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Slider#hide"><a href="Slider.html#hide">hide</a></li>
<li class="parent " data-name="Slider#layout"><a href="Slider.html#layout">layout</a></li>
<li class="parent " data-name="Slider#show"><a href="Slider.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Switch">
<span class="title ">
<a href="Switch.html">Switch</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="Switch#active"><a href="Switch.html#active">active</a></li>
<li class="parent " data-name="Switch#disabled"><a href="Switch.html#disabled">disabled</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Switch#hide"><a href="Switch.html#hide">hide</a></li>
<li class="parent " data-name="Switch#layout"><a href="Switch.html#layout">layout</a></li>
<li class="parent " data-name="Switch#show"><a href="Switch.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="TextLabel.TextLabel">
<span class="title ">
<a href="TextLabel.TextLabel.html">TextLabel.TextLabel</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Theme">
<span class="title ">
<a href="Theme.html">Theme</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Theme.fromString"><a href="Theme.html#.fromString">fromString</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ThemeDark">
<span class="title ">
<a href="ThemeDark.html">ThemeDark</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ThemeLight">
<span class="title ">
<a href="ThemeLight.html">ThemeLight</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="ThemeRed">
<span class="title ">
<a href="ThemeRed.html">ThemeRed</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="TileQuadNode">
<span class="title ">
<a href="TileQuadNode.html">TileQuadNode</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="TileQuadNode#link"><a href="TileQuadNode.html#link">link</a></li>
<li class="parent " data-name="TileQuadNode#noQuads"><a href="TileQuadNode.html#noQuads">noQuads</a></li>
<li class="parent " data-name="TileQuadNode#unlink"><a href="TileQuadNode.html#unlink">unlink</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Tooltip">
<span class="title ">
<a href="Tooltip.html">Tooltip</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class=" " data-name="Tooltip#content"><a href="Tooltip.html#content">content</a></li>
<li class=" " data-name="Tooltip#header"><a href="Tooltip.html#header">header</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class=" " data-name="Tooltip#hide"><a href="Tooltip.html#hide">hide</a></li>
<li class=" " data-name="Tooltip#layout"><a href="Tooltip.html#layout">layout</a></li>
<li class=" " data-name="Tooltip#show"><a href="Tooltip.html#show">show</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="UITest">
<span class="title ">
<a href="UITest.html">UITest</a>
</span>
<ul class="members itemMembers">
<span class="subtitle">Members</span>
<li class="parent " data-name="UITest#timeline"><a href="UITest.html#timeline">timeline</a></li>
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="UITest#clear"><a href="UITest.html#clear">clear</a></li>
<li class="parent " data-name="UITest#pan"><a href="UITest.html#pan">pan</a></li>
<li class="parent " data-name="UITest#pinch"><a href="UITest.html#pinch">pinch</a></li>
<li class="parent " data-name="UITest#restart"><a href="UITest.html#restart">restart</a></li>
<li class="parent " data-name="UITest#start"><a href="UITest.html#start">start</a></li>
<li class="parent " data-name="UITest#stop"><a href="UITest.html#stop">stop</a></li>
<li class="parent " data-name="UITest#tap"><a href="UITest.html#tap">tap</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
<li class="item" data-name="Volatile">
<span class="title ">
<a href="Volatile.html">Volatile</a>
</span>
<ul class="members itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="typedefs itemMembers">
</ul>
<ul class="methods itemMembers">
<span class="subtitle">Methods</span>
<li class="parent " data-name="Volatile#layout"><a href="Volatile.html#layout">layout</a></li>
</ul>
<ul class="events itemMembers">
</ul>
</li>
</ul>
</div>
<div class="main">
<h1 class="page-title" data-filename="pixi_app.js.html">Source: pixi/app.js</h1>
<section>
<header>
<div class="header content-size">
<h2>pixi/app.js</h2>
</div>
</header>
<article>
<pre id="source-code" class="prettyprint source linenums"><code>/* global apollo, subscriptions, gql */
import Theme from './theme.js'
import Progress from './progress.js'
import Modal from './modal.js'
import Message from './message.js'
2019-07-18 12:26:39 +02:00
import { debounce } from '../utils.js'
2019-03-29 08:49:53 +01:00
/**
* A special InteractionManager for fullscreen apps, which may
* go beyond the limits of WebGL drawing buffers. On Safari and Chrome
* the drawing buffers are limited to 4096 in width (Safari) or 4096x4096
* in total buffer size (Chrome). The original InteractionManager.mapPositionToPoint
* does not work with these extreme sizes which mainly occur if large
* retina displays (>= 4K) are used with devicePixelRatio > 1.
*
* @private
* @class
* @extends PIXI.interaction.InteractionManager
* @see {@link http://pixijs.download/dev/docs/PIXI.interaction.InteractionManager.html|PIXI.interaction.InteractionManager}
* @see {@link https://stackoverflow.com/questions/29710696/webgl-drawing-buffer-size-does-not-equal-canvas-size}
*/
class FullscreenInteractionManager extends PIXI.interaction.InteractionManager {
mapPositionToPoint(point, x, y) {
let resolution = this.renderer.resolution
let extendWidth = 1.0
let extendHeight = 1.0
let dy = 0
let canvas = this.renderer.view
let context = canvas.getContext('webgl')
2019-07-31 16:12:00 +02:00
if (context.drawingBufferWidth &lt; canvas.width || context.drawingBufferHeight &lt; canvas.height) {
2019-03-29 08:49:53 +01:00
extendWidth = context.drawingBufferWidth / canvas.width
extendHeight = context.drawingBufferHeight / canvas.height
//dx = wantedWidth - context.drawingBufferWidth
dy = (canvas.height - context.drawingBufferHeight) / resolution
}
x *= extendWidth
y *= extendHeight
super.mapPositionToPoint(point, x, y + dy)
}
}
/**
* The class PixiApp extends the class PIXI.Application
* by several functions and makes meaningful pre-assumptions.
*
* @example
* // Create the app
* const app = new PIXIApp({
* view: canvas,
* width: 450,
* height: 150,
* fpsLogging: true,
* theme: 'light',
* transparent: false
* }).setup().run()
*
* @class
* @extends PIXI.Application
* @see {@link http://pixijs.download/dev/docs/PIXI.Application.html|PIXI.Application}
*/
export default class PIXIApp extends PIXI.Application {
/**
* Creates an instance of a PixiApp.
*
* @constructor
* @param {object} [opts={}] - An options object. The following options can be set:
* @param {number} [opts.width] - The width of the renderer. If no set, the application will run in fullscreen.
* @param {number} [opts.height] - The height of the renderer. If no set, the application will run in fullscreen.
* @param {HTMLElement} [opts.view] - The canvas HTML element. If not set, a render-element is added inside the body.
* @param {boolean} [opts.transparent=true] - Should the render view be transparent?
* @param {boolean} [opts.antialias=true] - Sets antialias (only applicable in chrome at the moment).
* @param {number} [opts.resolution=window.devicePixelRatio | 1] - The resolution / device pixel ratio of the renderer, retina would be 2.
* @param {boolean} [opts.autoResize=true] - Should the canvas-element be resized automatically if the resolution was set?
* @param {number} [opts.backgroundColor=0x282828] - The color of the background.
* @param {string|Theme} [opts.theme=dark] - The name of the theme (dark, light, red) or a Theme object to use for styling.
* @param {boolean} [opts.fpsLogging=false] - If set to true, the current frames per second are displayed in the upper left corner.
* @param {object} [opts.progress={}] - Can be used to add options to the progress bar. See class Progress for more informations.
* @param {boolean} [opts.forceCanvas=false] - Prevents selection of WebGL renderer, even if such is present.
* @param {boolean} [opts.roundPixels=true] - Align PIXI.DisplayObject coordinates to screen resolution.
* @param {boolean} [opts.monkeyPatchMapping=true] - Monkey patch for canvas fullscreen support on large displays.
* @param {boolean} [opts.adaptive=true] - Adds Graphics adaptive calculation of quadratic curve and arc subdivision.
*/
constructor({
2019-07-18 12:26:39 +02:00
width = null,
height = null,
view = null,
transparent = true,
backgroundColor = 0x282828,
theme = 'dark',
antialias = true,
resolution = window.devicePixelRatio || 1,
autoResize = true,
fpsLogging = false,
progress = {},
forceCanvas = false,
roundPixels = true,
monkeyPatchMapping = true,
adaptive = true,
graphql = false
}) {
2019-03-29 08:49:53 +01:00
const fullScreen = !width || !height
if (fullScreen) {
width = window.innerWidth
height = window.innerHeight
}
super({
2019-05-14 14:03:32 +02:00
view,
width,
height,
transparent,
antialias,
resolution,
autoResize,
backgroundColor,
2019-09-11 09:42:00 +02:00
forceCanvas
2019-03-29 08:49:53 +01:00
})
this.width = width
this.height = height
this.theme = Theme.fromString(theme)
this.fpsLogging = fpsLogging
this.progressOpts = progress
this.fullScreen = fullScreen
this.orient = null
this.originalMapPositionToPoint = null
this.monkeyPatchMapping = monkeyPatchMapping
2019-05-14 14:03:32 +02:00
if (parseInt(PIXI.VERSION) >= 5) {
PIXI.settings.ROUND_PIXELS = roundPixels
PIXI.GRAPHICS_CURVES.adaptive = adaptive
} else {
PIXI.Graphics.CURVES.adaptive = adaptive
}
2019-03-29 08:49:53 +01:00
this.graphql = graphql
if (fullScreen || autoResize) {
console.log('App is in fullScreen mode or autoResize mode')
const resizeDebounced = debounce(event => this.resize(event), 50)
window.addEventListener('resize', resizeDebounced)
2019-07-31 16:12:00 +02:00
document.body.addEventListener('orientationchange', this.checkOrientation.bind(this))
2019-03-29 08:49:53 +01:00
}
if (monkeyPatchMapping) {
console.log('Using monkey patched coordinate mapping')
// Pluggin the specializtion does not work. Monkey patching does
// this.renderer.plugins.interaction = new FullscreenInteractionManager(this.renderer)
this.monkeyPatchPixiMapping()
}
}
/**
* Extra setup method to construct complex scenes, etc...
* Overwrite this method if you need additonal views and components.
*
* @return {PIXIApp} A reference to the PIXIApp for chaining.
*/
setup() {
this.scene = this.sceneFactory()
this.stage.addChild(this.scene)
// fpsLogging
if (this.fpsLogging) {
this.addFpsDisplay()
}
// GraphQL
if (this.graphql &amp;&amp; typeof apollo !== 'undefined') {
const networkInterface = apollo.createNetworkInterface({
uri: '/graphql'
})
2019-07-31 16:12:00 +02:00
const wsClient = new subscriptions.SubscriptionClient(`wss://${location.hostname}/subscriptions`, {
reconnect: true,
connectionParams: {}
})
2019-03-29 08:49:53 +01:00
2019-07-31 16:12:00 +02:00
const networkInterfaceWithSubscriptions = subscriptions.addGraphQLSubscriptions(networkInterface, wsClient)
2019-03-29 08:49:53 +01:00
this.apolloClient = new apollo.ApolloClient({
networkInterface: networkInterfaceWithSubscriptions
})
}
// progress
2019-07-18 12:26:39 +02:00
this._progress = new Progress(
Object.assign({ theme: this.theme }, this.progressOpts, {
app: this
})
)
2019-03-29 08:49:53 +01:00
this._progress.visible = false
this.stage.addChild(this._progress)
return this
}
/**
* Tests whether the width is larger than the height of the application.
*
* @return {boolean} Returns true if app is in landscape mode.
*/
orientation() {
return this.width > this.height
}
/**
* Checks orientation and adapts view size if necessary. Implements a
* handler for the orientationchange event.
*
* @param {event=} - orientationchange event
*/
checkOrientation(event) {
var value = this.orientation()
if (value != this.orient) {
2019-07-18 12:26:39 +02:00
setTimeout(
100,
function() {
this.orientationChanged(true)
}.bind(this)
)
2019-03-29 08:49:53 +01:00
this.orient = value
}
}
/**
* Called if checkOrientation detects an orientation change event.
*
* @param {boolean=} [force=false] - Called if checkOrientation detects an orientation change event.
*/
orientationChanged(force = false) {
if (this.expandRenderer() || force) {
this.layout()
}
}
/**
* Called after a resize. Empty method but can be overwritten to
* adapt their layout to the new app size.
*
* @param {number} [width] - The width of the app.
* @param {number} [height] - The height of the app.
*/
2019-07-18 12:26:39 +02:00
layout(width, height) {}
2019-03-29 08:49:53 +01:00
/**
* Draws the display tree of the app. Typically this can be delegated
* to the layout method.
*
*/
draw() {
this.layout(this.width, this.height)
}
/*
* Run the application. Override this method with everything
* that is needed to maintain your App, e.g. setup calls, main loops, etc.
*
*/
run() {
return this
}
/*
* Overwrite this factory method if your application needs a special
* scene object.
*
* @returns {PIXI.Container} - A new PIXI Container for use as a scene.
*/
sceneFactory() {
return new PIXI.Container()
}
/**
* Adds the display of the frames per second to the renderer in the upper left corner.
*
* @return {PIXIApp} - Returns the PIXIApp for chaining.
*/
addFpsDisplay() {
const fpsDisplay = new FpsDisplay(this)
this.stage.addChild(fpsDisplay)
return this
}
/**
* Returns the size of the renderer as an object with the keys width and height.
*
* @readonly
* @member {object}
*/
get size() {
return { width: this.width, height: this.height }
}
/**
* Returns the center of the renderer as an object with the keys x and y.
*
* @readonly
* @member {object}
*/
get center() {
return { x: this.width / 2, y: this.height / 2 }
}
/**
* Resizes the renderer to fit into the window or given width and height.
*
* @param {object} [event] - The event.
* @param {object=} [opts={}] - The event.
* @param {number} [opts.width=window.innerWidth] - The width of the app to resize to.
* @param {number} [opts.height=window.innerHeight] - The height of the app to resize to.
* @return {PIXIApp} - Returns the PIXIApp for chaining.
*/
2019-07-31 16:12:00 +02:00
resize(event, { width = window.innerWidth, height = window.innerHeight } = {}) {
2019-03-29 08:49:53 +01:00
this.width = width
this.height = height
this.expandRenderer()
this.layout(width, height)
//console.log("App.resize", width, height, window.innerWidth, window.innerHeight )
// if (this.scene) {
// console.log("gl.drawingBufferWidth", this.renderer.view.getContext('webgl').drawingBufferWidth)
// console.log("scene", this.scene.scale, this.renderer, this.renderer.autoResize, this.renderer.resolution)
// }
return this
}
/**
* @todo Write the documentation.
*
* @private
*/
monkeyPatchPixiMapping() {
if (this.originalMapPositionToPoint === null) {
let interactionManager = this.renderer.plugins.interaction
2019-07-31 16:12:00 +02:00
this.originalMapPositionToPoint = interactionManager.mapPositionToPoint
2019-03-29 08:49:53 +01:00
interactionManager.mapPositionToPoint = (point, x, y) => {
return this.fixedMapPositionToPoint(point, x, y)
}
}
}
/**
2019-07-18 12:26:39 +02:00
* In some browsers the canvas is distorted if the screen resolution and
2019-03-29 08:49:53 +01:00
* overall size of the canvas exceeds the internal limits (e.g. 4096 x 4096 pixels).
* To compensate these distortions we need to fix the mapping to the actual
* drawing buffer coordinates.
* @private
* @param {any} local
* @param {number} x
* @param {number} y
* @return {} interactionManager.mapPositionToPoint
*/
fixedMapPositionToPoint(local, x, y) {
let resolution = this.renderer.resolution
let interactionManager = this.renderer.plugins.interaction
let extendWidth = 1.0
let extendHeight = 1.0
let dy = 0
let canvas = this.renderer.view
let context = canvas.getContext('webgl')
2019-07-18 12:26:39 +02:00
if (
context !== null &amp;&amp;
2019-07-31 16:12:00 +02:00
(context.drawingBufferWidth &lt; canvas.width || context.drawingBufferHeight &lt; canvas.height)
2019-07-18 12:26:39 +02:00
) {
2019-03-29 08:49:53 +01:00
extendWidth = context.drawingBufferWidth / canvas.width
extendHeight = context.drawingBufferHeight / canvas.height
//dx = wantedWidth - context.drawingBufferWidth
dy = (canvas.height - context.drawingBufferHeight) / resolution
}
x *= extendWidth
y *= extendHeight
2019-07-31 16:12:00 +02:00
return this.originalMapPositionToPoint.call(interactionManager, local, x, y + dy)
2019-03-29 08:49:53 +01:00
}
/**
* Expand the renderer step-wise on resize.
*
* @param {number} [expand] - The amount of additional space for the renderer [px].
* @return {boolean} true if the renderer was resized.
*/
expandRenderer(expand = 256) {
let renderer = this.renderer
let resolution = this.renderer.resolution
let ww = this.width
let hh = this.height
let sw = this.screen.width
let sh = this.screen.height
if (ww > sw || hh > sh) {
//console.log('App.expandRenderer')
renderer.resize(ww + expand, hh + expand)
return true
}
renderer.resize(ww, hh)
return false
}
/**
* Set the loading progress of the application. If called for the first time, display the progress bar.
*
* @param {number} [value] - Should be a value between 0 and 100. If 100, the progress bar will disappear.
* @return {PIXIApp|Progress} The PixiApp object for chaining or the Progress object when the method was
* called without a parameter.
*/
progress(value) {
if (typeof value === 'undefined') {
return this._progress
}
this._progress.visible = true
this._progress.progress = value
return this
}
/**
* Opens a new Modal object binded to this app.
*
* @param {object} [opts] - An options object for the Modal object.
* @return {Modal} Returns the Modal object.
*/
modal(opts = {}) {
2019-07-31 16:12:00 +02:00
let modal = new Modal(Object.assign({ theme: this.theme }, opts, { app: this }))
2019-03-29 08:49:53 +01:00
this.scene.addChild(modal)
return modal
}
/**
* Opens a new Message object binded to this app.
*
* @param {object} [opts] - An options object for the Message object.
* @return {Message} Returns the Message object.
*/
message(opts = {}) {
2019-07-31 16:12:00 +02:00
let message = new Message(Object.assign({ theme: this.theme }, opts, { app: this }))
2019-03-29 08:49:53 +01:00
this.scene.addChild(message)
return message
}
/**
* Loads sprites, e.g. images into the PIXI TextureCache.
*
* @param {string|string[]} resources - A String or an Array of urls to the images to load.
* @param {function} [loaded] - A callback which is executed after all resources has been loaded.
* Receives one paramter, a Map of sprites where the key is the path of the image which was
* loaded and the value is the PIXI.Sprite object.
* @param {object} [opts] - An options object for more specific parameters.
* @param {boolean} [opts.resolutionDependent=true] - Should the sprites be loaded dependent of the
* renderer resolution?
* @param {boolean} [opts.progress=false] - Should a progress bar display the loading status?
* @return {PIXIApp} The PIXIApp object for chaining.
*/
2019-07-31 16:12:00 +02:00
loadSprites(resources, loaded = null, { resolutionDependent = true, progress = false } = {}) {
2019-07-18 12:26:39 +02:00
this.loadTextures(
resources,
textures => {
let sprites = new Map()
for (let [key, texture] of textures) {
sprites.set(key, new PIXI.Sprite(texture))
}
2019-03-29 08:49:53 +01:00
2019-07-18 12:26:39 +02:00
if (loaded) {
loaded.call(this, sprites)
}
},
{ resolutionDependent, progress }
)
2019-03-29 08:49:53 +01:00
return this
}
/**
* Loads textures, e.g. images into the PIXI TextureCache.
*
* @param {string|string[]} resources - A String or an Array of urls to the images to load.
* @param {function} [loaded] - A callback which is executed after all resources has been loaded.
* Receives one paramter, a Map of textures where the key is the path of the image which was
* loaded and the value is the PIXI.Texture object.
* @param {object} [opts] - An options object for more specific parameters.
* @param {boolean} [opts.resolutionDependent=true] - Should the textures be loaded dependent of the
* renderer resolution?
* @param {boolean} [opts.progress=false] - Should a progress bar display the loading status?
* @return {PIXIApp} The PIXIApp object for chaining.
*/
2019-07-31 16:12:00 +02:00
loadTextures(resources, loaded = null, { resolutionDependent = true, progress = false } = {}) {
2019-03-29 08:49:53 +01:00
if (!Array.isArray(resources)) {
resources = [resources]
}
const loader = this.loader
for (let resource of resources) {
if (!loader.resources[resource]) {
if (resolutionDependent) {
let resolution = Math.round(this.renderer.resolution)
switch (resolution) {
case 2:
2019-07-31 16:12:00 +02:00
loader.add(resource, resource.replace(/\.([^.]*)$/, '@2x.$1'))
2019-03-29 08:49:53 +01:00
break
case 3:
2019-07-31 16:12:00 +02:00
loader.add(resource, resource.replace(/\.([^.]*)$/, '@3x.$1'))
2019-03-29 08:49:53 +01:00
break
default:
loader.add(resource)
break
}
} else {
loader.add(resource)
}
}
}
if (progress) {
loader.on('progress', e => {
this.progress(e.progress)
})
}
loader.load((loader, resources) => {
const textures = new Map()
for (let key in resources) {
textures.set(key, resources[key].texture)
}
if (loaded) {
loaded.call(this, textures)
}
})
return this
}
/**
* Queries the GraphQL endpoint.
*
* @param {string} [query] - The GraphQL query string.
* @param {object} [opts={}] - An options object. The following options can be set:
* http://dev.apollodata.com/core/apollo-client-api.html#ApolloClient.query
* @return {Promise} Returns a Promise which is either resolved with the resulting data or
* rejected with an error.
*/
query(query, opts = {}) {
if (typeof query === 'string') {
opts = Object.assign({}, opts, { query })
} else {
opts = Object.assign({}, query)
}
opts.query = opts.query.trim()
if (!opts.query.startsWith('query')) {
if (opts.query.startsWith('{')) {
opts.query = `query ${opts.query}`
} else {
opts.query = `query {${opts.query}}`
}
}
opts.query = gql(opts.query)
return this.apolloClient.query(opts)
}
/**
* Mutate the GraphQL endpoint.
*
* @param {string} [mutation] - The GraphQL mutation string.
* @param {object} [opts={}] - An options object. The following options can be set:
* http://dev.apollodata.com/core/apollo-client-api.html#ApolloClient.mutate
* @return {Promise} Returns a Promise which is either resolved with the resulting data or
* rejected with an error.
*/
mutate(mutation, opts = {}) {
if (typeof mutation === 'string') {
opts = Object.assign({}, opts, { mutation })
} else {
opts = Object.assign({}, mutation)
}
opts.mutation = opts.mutation.trim()
if (!opts.mutation.startsWith('mutation')) {
if (opts.mutation.startsWith('{')) {
opts.mutation = `mutation ${opts.mutation}`
} else {
opts.mutation = `mutation {${opts.mutation}}`
}
}
opts.mutation = gql(opts.mutation)
return this.apolloClient.mutate(opts)
}
/**
* Subscribe the GraphQL endpoint.
*
* @param {string} [subscription] - The GraphQL subscription.
* @param {object} [opts={}] - An options object. The following options can be set:
* http://dev.apollodata.com/core/apollo-client-api.html#ApolloClient.query
* @return {Promise} Returns a Promise which is either resolved with the resulting data or
* rejected with an error.
*/
subscribe(subscription, opts = {}) {
if (typeof subscription === 'string') {
opts = Object.assign({}, opts, { subscription })
} else {
opts = Object.assign({}, subscription)
}
opts.subscription = opts.subscription.trim()
if (!opts.subscription.startsWith('subscription')) {
if (opts.subscription.startsWith('{')) {
opts.subscription = `subscription ${opts.subscription}`
} else {
opts.subscription = `subscription {${opts.subscription}}`
}
}
opts.query = gql(opts.subscription)
delete opts.subscription
return this.apolloClient.subscribe(opts)
}
/**
* Supports the page as a global coordinate system and converts browser page coordinates
* to local DisplayObject coordinates.
*
* @param {DisplayObject} displayObject - The PIXI displayObject.
* @param {number} x - The x coordinate.
* @param {number} y - The y coordinate.
2019-07-18 12:26:39 +02:00
*
2019-03-29 08:49:53 +01:00
* @return {PIXI.Point} Returns a PIXI.Point.
*/
convertPointFromPageToNode(displayObject, x, y) {
let resolution = this.renderer.resolution
2019-07-18 12:26:39 +02:00
console.log('resolution', resolution)
2019-03-29 08:49:53 +01:00
let pixiGlobal = window.convertPointFromPageToNode(app.view, x, y)
pixiGlobal.x /= resolution
pixiGlobal.y /= resolution
return displayObject.toLocal(new PIXI.Point(pixiGlobal.x, pixiGlobal.y))
}
/**
* Supports the page as a global coordinate system and converts local DisplayObject coordinates
* to browser page coordinates.
*
* @param {DisplayObject} displayObject - The PIXI displayObject.
* @param {number} x - The x coordinate.
* @param {number} y - The y coordinate.
2019-07-18 12:26:39 +02:00
*
2019-03-29 08:49:53 +01:00
* @return {Point} Returns a DOM Point.
*/
convertPointFromNodeToPage(displayObject, x, y) {
let resolution = this.renderer.resolution
let pixiGlobal = displayObject.toGlobal(new PIXI.Point(x, y))
pixiGlobal.x *= resolution
pixiGlobal.y *= resolution
// console.log("app.convertPointFromNodeToPage", pixiGlobal)
2019-07-31 16:12:00 +02:00
return window.convertPointFromNodeToPage(app.view, pixiGlobal.x, pixiGlobal.y)
2019-03-29 08:49:53 +01:00
}
}
/**
* The class fpsdisplay shows in the upper left corner
* of the renderer the current image refresh rate.
*
* @private
* @class
* @extends PIXI.Graphics
* @see {@link http://pixijs.download/dev/docs/PIXI.Graphics.html|PIXI.Graphics}
*/
class FpsDisplay extends PIXI.Graphics {
/**
* Creates an instance of a FpsDisplay.
*
* @constructor
* @param {PIXIApp} app - The PIXIApp where the frames per second should be displayed.
*/
constructor(app) {
super()
this.app = app
this.lineStyle(3, 0x434f4f, 1)
2019-07-18 12:26:39 +02:00
.beginFill(0x434f4f, 0.6)
2019-03-29 08:49:53 +01:00
.drawRoundedRect(0, 0, 68, 32, 5)
.endFill()
.position.set(20, 20)
2019-07-18 12:26:39 +02:00
this.text = new PIXI.Text(
this.fps,
new PIXI.TextStyle({
fontFamily: 'Arial',
fontSize: 14,
fontWeight: 'bold',
fill: '#f6f6f6',
stroke: '#434f4f',
strokeThickness: 3
})
)
2019-03-29 08:49:53 +01:00
this.text.position.set(6, 6)
this.addChild(this.text)
this.refreshFps()
window.setInterval(this.refreshFps.bind(this), 1000)
}
/**
* Refreshes fps numer.
*
* @return {PIXIApp} Returns the PIXIApp object for chaining.
*/
refreshFps() {
2019-07-18 12:26:39 +02:00
this.text.text = `${this.app.ticker.FPS.toFixed(1)} fps`
2019-03-29 08:49:53 +01:00
return this
}
}
</code></pre>
</article>
</section>
<footer class="content-size">
<div class="footer">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Dec 11 2019 16:30:55 GMT+0100 (GMT+01:00)
2019-03-29 08:49:53 +01:00
</div>
</footer>
</div>
</div>
<script>prettyPrint();</script>
<script src="scripts/main.js"></script>
</body>
</html>