height_cm propriété

height_cm propriété

Représente la hauteur de la forme, en centimètres.

Exemple


if shape.height_cm == 3:
    shape.height_cm = 1

Définition:

@property
def height_cm(self):
    ...
@height_cm.setter
def height_cm(self, value):
    ...

Voir également