Skip to content

How to draw a stroke line programatically? #1028

Answered by Bayramito
Bayramito asked this question in Q&A
Discussion options

You must be logged in to vote

Noo,
it can't be that easy ... :))

  const stroke = Skia.Path.Make();
  stroke.addRRect(rrect(rect(OUTER_X, OUTER_Y, OUTER_WIDTH, OUTER_HEIGHT), r, r));

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wcandillon
Comment options

@Bayramito
Comment options

Answer selected by Bayramito
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