processing / processing/processing-website

Reference documentation, problem in code example given for PImage.height

Đang mở
#605 3 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
MDX
Star
90
Fork
122
Merge trung bình
1 giờ 43 phút
Pull request đã merge (30 ngày)
3

Mô tả

Select the type of content error.

Factual Mistake

Section

Reference

Location of the error

content/references/examples/processing/PImage_height/PImage_height.pde

Describe the error

The code example given in reference section for Pimage_height doesn’t have any mention at all of height in it. It should be updated to be relevant to the heading under which it occurs.

Suggested correction

Perhaps the content could be updated to be parallel in structure to the documentation for Pimage_width

Language

English

Screenshots or references

// this is the code example given, which does not illustrate how PImage.height works and does not even reference it

PImage photo;

void setup() {
size(400, 400);
photo = loadImage("mt-horai.jpg");
}

void draw() {
image(photo, 0, 0);
}

Additional context

No response

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với content/references/examples/processing/PImage_height/PImage_height.pde và so sánh ví dụ của nó với tài liệu về PImage_width. Cập nhật ví dụ để minh họa PImage.height và khớp với tiêu đề, sau đó xác minh rằng trang tham chiếu hiển thị đúng ví dụ liên quan.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.