Skip to content

What is the unit/dimension of strokeWidth in Style object? #1022

Answered by devemux86
eddiemuc asked this question in Q&A
Discussion options

You must be logged in to vote

On Android it will use the Paint.setStrokeWidth(float).
Their docs do not mention units (except hairline mode).

Themes and overlays scale such values with device density before use.
(similar to Mapsforge graphics)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by devemux86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants