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 5 years, 8 months ago.