Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WISH: dashed lines in DRAW #164

Open
meijeru opened this issue May 19, 2024 · 0 comments
Open

WISH: dashed lines in DRAW #164

meijeru opened this issue May 19, 2024 · 0 comments
Assignees

Comments

@meijeru
Copy link

meijeru commented May 19, 2024

As requested (see Red repo issue 5540) here is a proposal in the form of an extra paragraph in draw.adoc. Note that the original wording was for a "dotted" line pattern. It is felt that the term "dashed" is more appropriate.


2.13.x. Dashed pen

  Syntax

  pen dashed <color1> <size1> <color2> <size2>

  <color1> : (optional) color of the dashes (tuple! word!)
  <color2> : (optional) color of the gaps   (tuple! word!)
  <size1>  : (optional) size of each dash in pixels or fraction of the length (integer! percent!).
  <size2>  : (optional) size of each gap  in pixels or fraction of the length (integer! percent!).

  Description

  Sets a dash pattern to be used for drawing operations.
  The defaults for color1 and color2 are black and transparent.
  The defaults for size1 and size2 are 5%.

@dockimbel dockimbel assigned dockimbel and qtxie and unassigned dockimbel May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants