BaseMod.geo.geoHistory.GEBrushChange

class BaseMod.geo.geoHistory.GEBrushChange(history, start: ~PySide6.QtCore.QPoint, replace: [<class 'int'>, <class 'bool'>], layers: [<class 'bool'>, <class 'bool'>, <class 'bool'>], brushsize: int)[source]

Bases: GEChange

Parameters:
  • start (QPoint)

  • replace ([<class 'int'>, <class 'bool'>])

  • layers ([<class 'bool'>, <class 'bool'>, <class 'bool'>])

  • brushsize (int)

__init__(history, start: ~PySide6.QtCore.QPoint, replace: [<class 'int'>, <class 'bool'>], layers: [<class 'bool'>, <class 'bool'>, <class 'bool'>], brushsize: int)[source]
Parameters:
  • start (QPoint)

  • replace ([<class 'int'>, <class 'bool'>])

  • layers ([<class 'bool'>, <class 'bool'>, <class 'bool'>])

  • brushsize (int)

Methods

__init__(history, start, replace, layers, ...)

add_move(position)

paint_sphere(pos, callback)

paintpoint(pos)

redo_changes()

redraw()

undo_changes()

Attributes

paintpoint(pos: QPoint)[source]
Parameters:

pos (QPoint)

paint_sphere(pos, callback)[source]
add_move(position)[source]
undo_changes()[source]
redo_changes()[source]
property basemod
property level
property manager
redraw()