/ TextDesignRowImage / calculateLayoutElements


protected open fun calculateLayoutElements(): MutableList<TextDesignElement>

Overrides TextDesignRowSingle.calculateLayoutElements

This method creates and returns all the TextDesignElements in this row based on the passed size.width. It must not rely on the height because this has not been calculated - in fact the height has to be derived from the width within this method. That means that this method should update size.height to a height that it needs to draw its contents into.

: An array of TextDesignElement objects.