You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/processing/core/PConstants.java
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,10 @@ public interface PConstants {
166
166
/**
167
167
* ( begin auto-generated from PI.xml )
168
168
*
169
-
* PI is a mathematical constant with the value 3.14159265358979323846. It is the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
170
-
*
169
+
* PI is a mathematical constant with the value 3.14159265358979323846. It
170
+
* is the ratio of the circumference of a circle to its diameter. It is
171
+
* useful in combination with the trigonometric functions <b>sin()</b> and
172
+
* <b>cos()</b>.
171
173
* ( end auto-generated )
172
174
* @webref constants
173
175
* @see PConstants#HALF_PI
@@ -179,8 +181,10 @@ public interface PConstants {
179
181
/**
180
182
* ( begin auto-generated from HALF_PI.xml )
181
183
*
182
-
* HALF_PI is a mathematical constant with the value 1.57079632679489661923. It is half the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
183
-
*
184
+
* HALF_PI is a mathematical constant with the value
185
+
* 1.57079632679489661923. It is half the ratio of the circumference of a
186
+
* circle to its diameter. It is useful in combination with the
187
+
* trigonometric functions <b>sin()</b> and <b>cos()</b>.
184
188
* ( end auto-generated )
185
189
* @webref constants
186
190
* @see PConstants#PI
@@ -192,8 +196,10 @@ public interface PConstants {
192
196
/**
193
197
* ( begin auto-generated from QUARTER_PI.xml )
194
198
*
195
-
* QUARTER_PI is a mathematical constant with the value 0.7853982. It is one quarter the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
196
-
*
199
+
* QUARTER_PI is a mathematical constant with the value 0.7853982. It is
200
+
* one quarter the ratio of the circumference of a circle to its diameter.
201
+
* It is useful in combination with the trigonometric functions
202
+
* <b>sin()</b> and <b>cos()</b>.
197
203
* ( end auto-generated )
198
204
* @webref constants
199
205
* @see PConstants#PI
@@ -204,8 +210,10 @@ public interface PConstants {
204
210
/**
205
211
* ( begin auto-generated from TWO_PI.xml )
206
212
*
207
-
* TWO_PI is a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
208
-
*
213
+
* TWO_PI is a mathematical constant with the value 6.28318530717958647693.
214
+
* It is twice the ratio of the circumference of a circle to its diameter.
215
+
* It is useful in combination with the trigonometric functions
Copy file name to clipboardExpand all lines: core/src/processing/core/PFont.java
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -167,8 +167,17 @@ public PFont() { } // for subclasses
167
167
/**
168
168
* ( begin auto-generated from PFont.xml )
169
169
*
170
-
* PFont is the font class for Processing. To create a font to use with Processing, select "Create Font..." from the Tools menu. This will create a font in the format Processing requires and also adds it to the current sketch's data directory. Processing displays fonts using the .vlw font format, which uses images for each letter, rather than defining them through vector data. The <b>loadFont()</b> function constructs a new font and <b>textFont()</b> makes a font active. The <b>list()</b> method creates a list of the fonts installed on the computer, which is useful information to use with the <b>createFont()</b> function for dynamically converting fonts into a format to use with Processing.
171
-
*
170
+
* PFont is the font class for Processing. To create a font to use with
171
+
* Processing, select "Create Font..." from the Tools menu. This will
172
+
* create a font in the format Processing requires and also adds it to the
173
+
* current sketch's data directory. Processing displays fonts using the
174
+
* .vlw font format, which uses images for each letter, rather than
175
+
* defining them through vector data. The <b>loadFont()</b> function
176
+
* constructs a new font and <b>textFont()</b> makes a font active. The
177
+
* <b>list()</b> method creates a list of the fonts installed on the
178
+
* computer, which is useful information to use with the
179
+
* <b>createFont()</b> function for dynamically converting fonts into a
180
+
* format to use with Processing.
172
181
* ( end auto-generated )
173
182
* @webref typography:pfont
174
183
* @param font
@@ -795,8 +804,11 @@ public Glyph getGlyph(int i) {
795
804
/**
796
805
* ( begin auto-generated from PFont_list.xml )
797
806
*
798
-
* Gets a list of the fonts installed on the system. The data is returned as a String array. This list provides the names of each font for input into <b>createFont()</b>, which allows Processing to dynamically format fonts. This function is meant as a tool for programming local applications and is not recommended for use in applets.
799
-
*
807
+
* Gets a list of the fonts installed on the system. The data is returned
808
+
* as a String array. This list provides the names of each font for input
809
+
* into <b>createFont()</b>, which allows Processing to dynamically format
810
+
* fonts. This function is meant as a tool for programming local
811
+
* applications and is not recommended for use in applets.
0 commit comments