processing / processing/processing-website

Add `strokeWeight` to reference in the reference of `point_`

Ouverte Adaptée aux débutants
#609 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
MDX
Étoiles
90
Forks
122
Merge moyen
1 h 43 min
PR mergées (30 j)
3

Description

Select the type of content error.

Other content error (please specify)

Section

Reference

Location of the error

https://github.com/processing/processing-website/blob/dae935bea77b1353ff8824f56fc8fe01096c942e/content/references/translations/en/processing/point_.json#L3

Describe the error

I don't know if it is intended, but it would be nice to make strokeWeight() function bold in description section and add strokeWeight() function in related section

Suggested correction
  1. Change description to:
  "description": "Draws a point, a coordinate in space at the dimension of one pixel. The first\n parameter is the horizontal value for the point, the second value is the\n vertical value for the point, and the optional third value is the depth\n value. Drawing this shape in 3D with the <b>z</b> parameter requires the P3D\n parameter in combination with <b>size()</b> as shown in the above example.\n <br/>\n <br/>\n Use <b>stroke()</b> to set the color of a <b>point()</b>. <br/>\n <br/>\n Point appears round with the default <b>strokeCap(ROUND)</b> and square with\n <b>strokeCap(PROJECT)</b>. Points are invisible with <b>strokeCap(SQUARE)</b>\n (no cap). <br/>\n <br/>\n Using point() with <b>strokeWeight(1)</b> or smaller may draw nothing to the screen,\n depending on the graphics settings of the computer. Workarounds include\n setting the pixel using <b>set()</s> or drawing the point using either\n <b>circle()</b> or <b>square()</b>.",
  1. Change related to:
  "related": ["stroke_", "strokeWeight_"],
Language

json

Screenshots or references

No response

Additional context

No response

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Ouvrez content/references/translations/en/processing/point_.json à la description référencée et aux champs associés. Comparez la formulation proposée et les entrées de référence associées avec les fichiers de référence voisins, puis mettez à jour le contenu de point_ ; c’est terminé lorsque strokeWeight est correctement mis en évidence et lié dans la référence rendue.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
json
Domaine
documentation
Type d'issue
Documentation
Difficulté
1/5
Temps estimé
Moins d'une heure
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
60/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.