width propriété

width propriété

Représente le width de forme, en unité de pixels.

Exemple


if shape.width == 3:
    shape.width = 1

Définition:

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

Voir également