Skip to content

View2D

Canonical path: PythonPart.View2D

Bases: View

Definition of a 2D view class

__init__

__init__(
    elements: list[Any] | None = None,
    start_scale: float = 0.0,
    end_scale: float = 9999.0,
)

Initialization of 2D view class

Parameters:

  • elements (list[Any] | None, default: None ) –

    elements. Defaults to None.

  • start_scale (float, default: 0.0 ) –

    start scale. Defaults to 0.

  • end_scale (float, default: 9999.0 ) –

    end scale. Defaults to 9999.

Placeholder