processing / processing/processing-website
beginShape() documentation lack LINE_STRIP shape mode
まだ誰も着手していません。
- 主要言語
- MDX
- スター
- 90
- フォーク
- 122
- 平均マージ
- 1時間 43分
- マージ済み PR(30日)
- 3
説明
Issue description
Examples shown encourage users who wants to draw multiple consecutive line segments to use "With no mode specified, the shape can be any irregular polygon".
But the default POLYGON mode doesn't work if user supply only 2 vertices...
The example code is working with four vertices, but doesn't work anymore if you comment two of them !
URL(s) of affected page(s)
https://processing.org/reference/beginShape_.html
Proposed fix
The fourth example should use beginShape(LINE_STRIP) and LINE_STRIP should be mentionned in mode's list.
noFill();
beginShape(LINE_STRIP);
vertex(30, 20);
vertex(85, 20);
endShape();
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
https://processing.org/reference/beginShape_.html の対象となる beginShape() リファレンスページから始め、4番目の例とシェイプモードの一覧を確認します。例を LINE_STRIP を使用するように更新し、そのモードを一覧に追加してから、レンダリングされたドキュメントと2頂点の例を検証します。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 72/100