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

未關閉 適合新手
#609 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
60/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
json
領域
documentation

研究方向

開啟 content/references/translations/en/processing/point_.json 中被參照的描述及相關欄位。將提議的措辭和相關參照項目與鄰近的參照檔案進行比較,然後更新 point_ 的內容;當 strokeWeight 在轉譯後的參照文件中被正確強調並連結時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

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

主要語言
MDX
星號
90
分支
122
平均合併
1 小時 43 分鐘
30 天內合併 PR
3

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

processing/processing-website 的其他 Issue

查看 processing/processing-website 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。