Skip to content

TilePanelExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating instances.

csharp
public static class TilePanelExtensions

Inheritance

ObjectTilePanelExtensions

Methods

TilePanel<TParent>(WidgetContext<TParent>, ITileDataSource, double, double, int)

Creates a TilePanel with the specified data source and camera position.

Parameters:

Returns: TilePanelWidget

csharp
public static TilePanelWidget TilePanel<TParent>(this WidgetContext<TParent> ctx, ITileDataSource dataSource, double cameraX, double cameraY, int zoomLevel = 0) where TParent : Hex1bWidget

TilePanel<TParent>(WidgetContext<TParent>, ITileDataSource)

Creates a TilePanel with the specified data source at the default camera position.

Parameters:

Returns: TilePanelWidget

csharp
public static TilePanelWidget TilePanel<TParent>(this WidgetContext<TParent> ctx, ITileDataSource dataSource) where TParent : Hex1bWidget

Released under the MIT License.