Skip to content

Commit 6f5e5ba

Browse files
authored
Merge pull request #1034 from Konsl/patch-1
Update PGraphics.java: fix typos in documentation
2 parents 89c2f0d + 056b88b commit 6f5e5ba

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/processing/core/PApplet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ void handleSettings() {
913913
* Processing Development Environment (PDE). For example, when
914914
* using the Eclipse code editor, it's necessary to use
915915
* <b>settings()</b> to define the <b>size()</b> and
916-
* <b>smooth()</b> values for a sketch.</b>.
916+
* <b>smooth()</b> values for a sketch.
917917
* <br /> <br />
918918
* The <b>settings()</b> method runs before the sketch has been
919919
* set up, so other Processing functions cannot be used at that

core/src/processing/core/PGraphics.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ protected void curveVertexSegment(float x1, float y1, float z1,
24962496
* <br />
24972497
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
24982498
* depending on the graphics settings of the computer. Workarounds include
2499-
* setting the pixel using <b>set()</s> or drawing the point using either
2499+
* setting the pixel using <b>set()</b> or drawing the point using either
25002500
* <b>circle()</b> or <b>square()</b>.
25012501
*
25022502
* @webref shape:2d primitives
@@ -3559,8 +3559,8 @@ public float curvePoint(float a, float b, float c, float d, float t) {
35593559

35603560
/**
35613561
* Calculates the tangent of a point on a curve. There's a good definition
3562-
* of <em><a href="http://en.wikipedia.org/wiki/Tangent"
3563-
* target="new">tangent</em> on Wikipedia</a>.
3562+
* of <a href="http://en.wikipedia.org/wiki/Tangent"
3563+
* target="new"><em>tangent</em> on Wikipedia</a>.
35643564
*
35653565
* <h3>Advanced</h3>
35663566
* Code thanks to Dave Bollinger (Bug #715)
@@ -6252,7 +6252,7 @@ public float modelZ(float x, float y, float z) {
62526252
* <br /><br />
62536253
* The style information controlled by the following functions are included
62546254
* in the style:
6255-
* <b>fill()<b>, <b>stroke()</b>, <b>tint()</b>, <b>strokeWeight()</b>, <b>strokeCap()</b>,<b>strokeJoin()</b>,
6255+
* <b>fill()</b>, <b>stroke()</b>, <b>tint()</b>, <b>strokeWeight()</b>, <b>strokeCap()</b>,<b>strokeJoin()</b>,
62566256
* <b>imageMode()</b>, <b>rectMode()</b>, <b>ellipseMode()</b>, <b>shapeMode()</b>, <b>colorMode()</b>,
62576257
* <b>textAlign()</b>, <b>textFont()</b>, <b>textMode()</b>, <b>textSize()</b>, <b>textLeading()</b>,
62586258
* <b>emissive()</b>, <b>specular()</b>, <b>shininess()</b>, <b>ambient()</b>
@@ -6439,7 +6439,7 @@ public PStyle getStyle(PStyle s) { // ignore
64396439
* <br />
64406440
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
64416441
* depending on the graphics settings of the computer. Workarounds include
6442-
* setting the pixel using <b>set()</s> or drawing the point using either
6442+
* setting the pixel using <b>set()</b> or drawing the point using either
64436443
* <b>circle()</b> or <b>square()</b>.
64446444
*
64456445
* @webref shape:attributes

0 commit comments

Comments
 (0)