PyANGGui.G2DUpdateGeometryContext

class G2DUpdateGeometryContext

Class that contains changes on any 2DView settings

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

PyANGGui.G2DUpdateGeometryContext.view
PyANGGui.G2DUpdateGeometryContext.printing
PyANGGui.G2DUpdateGeometryContext.minimumObjectPixelSize
PyANGGui.G2DUpdateGeometryContext.modeObject
PyANGGui.G2DUpdateGeometryContext.modelConnection
PyANGGui.G2DUpdateGeometryContext.roadSide
__init__()
__init__(context)
Parameters:

contextG2DDrawContext

__init__(_context)
Parameters:

_contextG2DUpdateGeometryContext

__init__(aview)
Parameters:

aviewG2DView

getContext()
Return type:

GKContext

Returns the context of the specified view

getMode()
Return type:

GKViewMode

Returns the view mode of the specified view

isValid()
Return type:

bool

Returns true if the context is valid (its view is not NULL).