import icons

Rectangle(color='honeydew')

# Red truck
truck1 = icons.Truck(width=40, height=30, x=25, color='indianred')

# Blue truck
truck2 = truck1.copy()
truck2.color = 'royalblue'
truck2.x = 75
truck2.flip_horizontal()

Mirrored Trucks

by ludwik

Created 6 years, 2 months ago.