Exemplo n.º 1
0
 def ragions(ragions, count_in_row=9, init_value=BLACK):
     '''
         Show the ragions which could have different size.
     '''
     same_size_ragions = Ragions.fill_to_same_size(ragions)
     count_in_row = min(len(ragions), count_in_row)
     Display.same_size_ragions(same_size_ragions, count_in_row, init_value)
Exemplo n.º 2
0
 def same_size_ragions(ragions, count_in_row=9, init_value=BLACK):
     '''
         Show the ragions which have the same size.
     '''
     the_image = Ragions.join_same_size(ragions, count_in_row, init_value)
     Display.image(the_image)