pyumldiagrams.image.ImageCommon

Classes

ImageCommon

Module Contents

class pyumldiagrams.image.ImageCommon.ImageCommon

Bases: pyumldiagrams.Common.Common

Inheritance diagram of pyumldiagrams.image.ImageCommon.ImageCommon
classmethod toInternal(position: pyumldiagrams.Definitions.Position, verticalGap: int, horizontalGap: int) pyumldiagrams.Internal.InternalPosition

Assumes a 1 to 1 relationship between display device and the image we are generating.

Parameters:
  • position – The original position

  • verticalGap – Account for the vertical gap on the X-axis

  • horizontalGap – Account for the horizontal gap on the Y-axis

Returns: The new position adjust for margins and gaps