From 39c9f8586262bcd1c3f4bab21715d4abaedf7812 Mon Sep 17 00:00:00 2001 From: Rishabdev Date: Sun, 9 Mar 2025 11:55:29 +0530 Subject: [PATCH] Fix: Add strokeWeight to reference in point_ #609 --- content/references/translations/en/processing/point_.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/references/translations/en/processing/point_.json b/content/references/translations/en/processing/point_.json index b2f157bd..0992f6bc 100644 --- a/content/references/translations/en/processing/point_.json +++ b/content/references/translations/en/processing/point_.json @@ -1,8 +1,8 @@ { "brief": "Draws a point, a coordinate in space at the dimension of one pixel", - "related": ["stroke_"], + "related": ["stroke_", "strokeWeight_"], "name": "point()", - "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 z parameter requires the P3D\n parameter in combination with size() as shown in the above example.\n
\n
\n Use stroke() to set the color of a point().
\n
\n Point appears round with the default strokeCap(ROUND) and square with\n strokeCap(PROJECT). Points are invisible with strokeCap(SQUARE)\n (no cap).
\n
\n Using point() with strokeWeight(1) or smaller may draw nothing to the screen,\n depending on the graphics settings of the computer. Workarounds include\n setting the pixel using set() or drawing the point using either\n circle() or square().", + "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 z parameter requires the P3D\n parameter in combination with size() as shown in the above example.\n
\n
\n Use stroke() to set the color of a point().
\n
\n Point appears round with the default strokeCap(ROUND) and square with\n strokeCap(PROJECT). Points are invisible with strokeCap(SQUARE)\n (no cap).
\n
\n Using point() with strokeWeight(1) or smaller may draw nothing to the screen,\n depending on the graphics settings of the computer. Workarounds include\n setting the pixel using set() or drawing the point using either\n circle() or square().", "syntax": ["point(x, y)", "point(x, y, z)"], "returns": "void", "type": "function",