processing / processing/processing-website

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

Aperta Adatta ai principianti
#609 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
MDX
Stelle
90
Fork
122
Merge medio
1h 43m
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Apri content/references/translations/en/processing/point_.json alla descrizione indicata e ai campi correlati. Confronta la formulazione proposta e le voci di riferimento correlate con i file di riferimento vicini, quindi aggiorna il contenuto di point_; l’attività è completata quando strokeWeight è correttamente evidenziato e collegato nel riferimento renderizzato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
json
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
60/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.