Skip to content

Vertical and Horizontal space around the text are used additional values #1

@XFRAY

Description

@XFRAY

As I see you use some additional values to measure vertical and horizontal padding

val verticalSpaceAroundText = (textHeight * .12f + 6 + paddingVertical).toInt()

What is 6 and .12 here ?

Same for
val horizontalSpaceAroundText = ((textHeight * .24f) + 8 + paddingHorizontal).toInt()

What is 8 and .24 here ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions