RMLCanvas

Summary

Remarks

Danger

All calls made within this class MUST be performed on the Master Thread. See RunLater on how to safely call this from an asynchronous thread. Failure to comply with this can cause catastrophical failures as the engine is not designed for this.

Definition

Namespace: SDT4.Managed.UI.RML
Assembly: SDT4.Managed.UI.dll

class RMLCanvas
Inheritance:

Object ➔ RMLCanvas

Implements:


Fields

Name Type Description

Properties

Name Type Description
public static get; PrimaryCanvas RMLCanvas
public get; Themes RMLThemeQuery
public get; Documents RMLDocument[] Retrieves all currently loaded documents

Methods

public Void DestroyDocument(RMLDocument document)

Summary: Removes the document from the UI

Parameters:


public Void SetDpi(Single dpiScale)

Summary: Sets the ratio between the dp/px size

Parameters:


public T GetDataModel<T>()

Summary: Retrieves the data model instantiated for this context

Returns:


public virtual String ToString()

Returns:


public virtual Int32 GetHashCode()

Returns:


public virtual Boolean Equals(Object? obj)

Parameters:

Returns: