CanvasWidget

Description

sealed class Tinman.AddOns.Widgets.CanvasWidget

Derived from

Widget abstract

Full source code is included in the Tinman 3D SDK download.

A GUI widget that displays a Canvas.

Public / Constants

Label​Bookmarks


[Localized]
public constant LabelBookmarks → ("Bookmarks":string)

Label of bookmarks panel.

Label​Canvas


[Localized]
public constant LabelCanvas → ("Canvas":string)

Label of canvas panel.

Label​Graticule


[Localized]
public constant LabelGraticule → ("Graticule":string)

Label for toggling display of the canvas graticule.

Label​Map​Coordinates


[Localized]
public constant LabelMapCoordinates → ("Map Coordinates":string)

Label of map coordinates panel.

Label​Map​Sample


[Localized]
public constant LabelMapSample → ("Map Sample":string)

Label of map sample panel.

Label​Region​Data


[Localized]
public constant LabelRegionData → ("Data regions":string)

Label for showing data regions.

Label​Region​Show


[Localized]
public constant LabelRegionShow → ("Show":string)

Label for toggling display of void/data regions.

Label​Region​Void


[Localized]
public constant LabelRegionVoid → ("Void regions":string)

Label for showing void regions.

Label​Zoom


[Localized]
public constant LabelZoom → ("Zoom":string)

Label for choosing the zoom level.

Label​Zoom​Decrement


[Localized]
public constant LabelZoomDecrement → ("Zoom dec":string)

Label for decrementing the zoom level.

Label​Zoom​Increment


[Localized]
public constant LabelZoomIncrement → ("Zoom inc":string)

Label for incrementing the zoom level.

Label​Zoom​Maximum


[Localized]
public constant LabelZoomMaximum → ("Zoom max":string)

Label for choosing the maximum zoom level.

Label​Zoom​Minimum


[Localized]
public constant LabelZoomMinimum → ("Zoom min":string)

Label for choosing the minimum zoom level.

Public / Constructors

Canvas​Widget


public constructor CanvasWidget → ()

Creates a new instance of CanvasWidget.

Public / Methods

Map​Reset


public method MapReset → ()

Resets the map view.

Public / Attributes

Bookmarks​Gui


public attribute BookmarksGui → (get)

value : BookmarksGui

The bookmarks GUI.

Returns the bookmarks GUI.

Canvas


public attribute Canvas → (get)

value : Canvas

The current canvas object or null.

The current canvas object.

Factory


[OwnerValue]
public attribute Factory → (get,set)

value : ICanvasFactory

The canvas factory.

The factory to use for creating the Canvas object.

Show​Data​Regions


public attribute ShowDataRegions → (get,set)

value : bool

Highlight data regions with green shade?

Show data regions?

The default value is false.

Show​Graticule


public attribute ShowGraticule → (get,set)

value : bool

true to show the map graticule, false to hide it.

Show the map graticule (i.e. meridians and parallels)?

The default value is true.

Show​Void​Regions


public attribute ShowVoidRegions → (get,set)

value : bool

Highlight data regions with red shade?

Show void regions?

The default value is false.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IWidget>

[not-null]
The configurator object.

The configurator object for this type.