CShape.__init__

abstractmethod CShape.__init__(center: tuple[float, float] = (0, 0), radius: float | tuple[float, float] = 0, rot: float = None, degree: bool = False)[source]

Initializes the CShape

Parameters:
  • center (tuple[float, float], optional) – Center of the shape, by default (0,0)

  • radius (float | tuple[float,float], optional) – Radius of the shape, for none elliptic shape set as an average distance between trace points and center, by default 0

  • rot (float, optional) – rotation of the shape, by default None

  • degree (bool, optional) – if True rot is in degree, if False in radian, by default False