geepillow.strips ================ .. py:module:: geepillow.strips .. autoapi-nested-parse:: A strip is a concatenation of blacks. Classes ------- .. autoapisummary:: geepillow.strips.Strip Module Contents --------------- .. py:class:: Strip(blocks, space = 10, orientation = 'horizontal', position = 'center-center', fit_block = True, keep_proportion = True, size = None, background_color = 'white', background_opacity = 1, mode = DEFAULT_MODE) Bases: :py:obj:`geepillow.blocks.ImageBlock` Strip. A concatenation of blocks that behave like a block. None will be replaced with a proxy block. :param blocks: a list of Block instances. :param space: the space in pixels between blocks. :param orientation: orientation of the strip. :param position: position of the strip inside the block. :param background_color: color of the background. :param background_opacity: opacity of the background. :param fit_block: if True the element's boundaries will never exceed the block. :param keep_proportion: keep proportion (ratio) of the image. :param size: size of the strip. :param mode: mode of the background image. .. py:method:: strip_image() Create the strip image. .. py:attribute:: _background_color .. py:attribute:: _blocks .. py:attribute:: background_opacity :value: 1 .. py:property:: blocks :type: list[geepillow.blocks.Block] Replace None with proxy blocks. .. py:attribute:: mode :value: 'RGBA' .. py:attribute:: orientation :value: 'horizontal' .. py:attribute:: space :value: 10 .. py:property:: strip_height :type: float | int Height of the row (max of all blocks). .. py:property:: strip_size :type: tuple[int, int] Size of the strip. .. py:property:: strip_width :type: float | int Width of the row.