calculateLayoutElements
|
fun calculateLayoutElements(): java.util.List<TextDesignElement>
This method creates and returns all the TextDesignElement s 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.
|
getCenteredVertically
|
fun getCenteredVertically(): boolean |
getCenterOffset
|
fun getCenterOffset(): float |
getMinimumHeight
|
fun getMinimumHeight(): float |
getSizeToFitContent
|
fun getSizeToFitContent(): boolean |
getTextScaleFactor
|
fun getTextScaleFactor(): float |
render
|
fun render(canvas: NonExistentClass): void |
setCenteredVertically
|
fun setCenteredVertically(p: boolean): void |
setCenterOffset
|
fun setCenterOffset(p: float): void |
setMinimumHeight
|
fun setMinimumHeight(p: float): void |
setSizeToFitContent
|
fun setSizeToFitContent(p: boolean): void |
setTextScaleFactor
|
fun setTextScaleFactor(p: float): void |
textBoundsOfElement
|
fun textBoundsOfElement(layoutElement: TextDesignElement): kotlin.Array<float> |
textFrame
|
fun textFrame(element: TextDesignElement, fontSize: float): MultiRect |
textStyleForFont
|
fun textStyleForFont(font: FontAsset): NonExistentClass |