@@ -62,7 +62,7 @@ class Py5Font:
62
62
63
63
To create a new font dynamically, use the ``create_font()`` function. Do not use
64
64
the syntax ``new Py5Font()``.
65
- """
65
+ """
66
66
67
67
_cls = jpype .JClass ('processing.core.PFont' )
68
68
CHARSET = _cls .CHARSET
@@ -71,80 +71,92 @@ def __init__(self, pfont):
71
71
self ._instance = pfont
72
72
73
73
def ascent (self ) -> float :
74
- """new template no description .
74
+ """The documentation for this field or method has not yet been written .
75
75
76
76
Underlying Java method: PFont.ascent
77
77
78
78
Notes
79
79
-----
80
80
81
- new template no description.
82
- """
81
+ The documentation for this field or method has not yet been written. If you know
82
+ what it does, please help out with a pull request to the relevant file in
83
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
84
+ """
83
85
return self ._instance .ascent ()
84
86
85
87
def descent (self ) -> float :
86
- """new template no description .
88
+ """The documentation for this field or method has not yet been written .
87
89
88
90
Underlying Java method: PFont.descent
89
91
90
92
Notes
91
93
-----
92
94
93
- new template no description.
94
- """
95
+ The documentation for this field or method has not yet been written. If you know
96
+ what it does, please help out with a pull request to the relevant file in
97
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
98
+ """
95
99
return self ._instance .descent ()
96
100
97
101
def get_default_size (self ) -> int :
98
- """new template no description .
102
+ """The documentation for this field or method has not yet been written .
99
103
100
104
Underlying Java method: PFont.getDefaultSize
101
105
102
106
Notes
103
107
-----
104
108
105
- new template no description.
106
- """
109
+ The documentation for this field or method has not yet been written. If you know
110
+ what it does, please help out with a pull request to the relevant file in
111
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
112
+ """
107
113
return self ._instance .getDefaultSize ()
108
114
109
115
def get_glyph_count (self ) -> int :
110
- """new template no description .
116
+ """The documentation for this field or method has not yet been written .
111
117
112
118
Underlying Java method: PFont.getGlyphCount
113
119
114
120
Notes
115
121
-----
116
122
117
- new template no description.
118
- """
123
+ The documentation for this field or method has not yet been written. If you know
124
+ what it does, please help out with a pull request to the relevant file in
125
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
126
+ """
119
127
return self ._instance .getGlyphCount ()
120
128
121
129
def get_name (self ) -> str :
122
- """new template no description .
130
+ """The documentation for this field or method has not yet been written .
123
131
124
132
Underlying Java method: PFont.getName
125
133
126
134
Notes
127
135
-----
128
136
129
- new template no description.
130
- """
137
+ The documentation for this field or method has not yet been written. If you know
138
+ what it does, please help out with a pull request to the relevant file in
139
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
140
+ """
131
141
return self ._instance .getName ()
132
142
133
143
def get_post_script_name (self ) -> str :
134
- """new template no description .
144
+ """The documentation for this field or method has not yet been written .
135
145
136
146
Underlying Java method: PFont.getPostScriptName
137
147
138
148
Notes
139
149
-----
140
150
141
- new template no description.
142
- """
151
+ The documentation for this field or method has not yet been written. If you know
152
+ what it does, please help out with a pull request to the relevant file in
153
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
154
+ """
143
155
return self ._instance .getPostScriptName ()
144
156
145
157
@overload
146
158
def get_shape (self , ch : chr , / ) -> Py5Shape :
147
- """new template no description .
159
+ """The documentation for this field or method has not yet been written .
148
160
149
161
Underlying Java method: PFont.getShape
150
162
@@ -153,8 +165,8 @@ def get_shape(self, ch: chr, /) -> Py5Shape:
153
165
154
166
You can use any of the following signatures:
155
167
156
- * get_shape(ch: chr) -> Py5Shape
157
- * get_shape(ch: chr, detail: float) -> Py5Shape
168
+ * get_shape(ch: chr, / ) -> Py5Shape
169
+ * get_shape(ch: chr, detail: float, / ) -> Py5Shape
158
170
159
171
Parameters
160
172
----------
@@ -168,13 +180,15 @@ def get_shape(self, ch: chr, /) -> Py5Shape:
168
180
Notes
169
181
-----
170
182
171
- new template no description.
172
- """
183
+ The documentation for this field or method has not yet been written. If you know
184
+ what it does, please help out with a pull request to the relevant file in
185
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
186
+ """
173
187
pass
174
188
175
189
@overload
176
190
def get_shape (self , ch : chr , detail : float , / ) -> Py5Shape :
177
- """new template no description .
191
+ """The documentation for this field or method has not yet been written .
178
192
179
193
Underlying Java method: PFont.getShape
180
194
@@ -183,8 +197,8 @@ def get_shape(self, ch: chr, detail: float, /) -> Py5Shape:
183
197
184
198
You can use any of the following signatures:
185
199
186
- * get_shape(ch: chr) -> Py5Shape
187
- * get_shape(ch: chr, detail: float) -> Py5Shape
200
+ * get_shape(ch: chr, / ) -> Py5Shape
201
+ * get_shape(ch: chr, detail: float, / ) -> Py5Shape
188
202
189
203
Parameters
190
204
----------
@@ -198,13 +212,15 @@ def get_shape(self, ch: chr, detail: float, /) -> Py5Shape:
198
212
Notes
199
213
-----
200
214
201
- new template no description.
202
- """
215
+ The documentation for this field or method has not yet been written. If you know
216
+ what it does, please help out with a pull request to the relevant file in
217
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
218
+ """
203
219
pass
204
220
205
221
@_return_py5shape
206
222
def get_shape (self , * args ):
207
- """new template no description .
223
+ """The documentation for this field or method has not yet been written .
208
224
209
225
Underlying Java method: PFont.getShape
210
226
@@ -213,8 +229,8 @@ def get_shape(self, *args):
213
229
214
230
You can use any of the following signatures:
215
231
216
- * get_shape(ch: chr) -> Py5Shape
217
- * get_shape(ch: chr, detail: float) -> Py5Shape
232
+ * get_shape(ch: chr, / ) -> Py5Shape
233
+ * get_shape(ch: chr, detail: float, / ) -> Py5Shape
218
234
219
235
Parameters
220
236
----------
@@ -228,44 +244,52 @@ def get_shape(self, *args):
228
244
Notes
229
245
-----
230
246
231
- new template no description.
232
- """
247
+ The documentation for this field or method has not yet been written. If you know
248
+ what it does, please help out with a pull request to the relevant file in
249
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
250
+ """
233
251
return self ._instance .getShape (* args )
234
252
235
253
def get_size (self ) -> int :
236
- """new template no description .
254
+ """The documentation for this field or method has not yet been written .
237
255
238
256
Underlying Java method: PFont.getSize
239
257
240
258
Notes
241
259
-----
242
260
243
- new template no description.
244
- """
261
+ The documentation for this field or method has not yet been written. If you know
262
+ what it does, please help out with a pull request to the relevant file in
263
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
264
+ """
245
265
return self ._instance .getSize ()
246
266
247
267
def is_smooth (self ) -> bool :
248
- """new template no description .
268
+ """The documentation for this field or method has not yet been written .
249
269
250
270
Underlying Java method: PFont.isSmooth
251
271
252
272
Notes
253
273
-----
254
274
255
- new template no description.
256
- """
275
+ The documentation for this field or method has not yet been written. If you know
276
+ what it does, please help out with a pull request to the relevant file in
277
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
278
+ """
257
279
return self ._instance .isSmooth ()
258
280
259
281
def is_stream (self ) -> bool :
260
- """new template no description .
282
+ """The documentation for this field or method has not yet been written .
261
283
262
284
Underlying Java method: PFont.isStream
263
285
264
286
Notes
265
287
-----
266
288
267
- new template no description.
268
- """
289
+ The documentation for this field or method has not yet been written. If you know
290
+ what it does, please help out with a pull request to the relevant file in
291
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
292
+ """
269
293
return self ._instance .isStream ()
270
294
271
295
@classmethod
@@ -281,23 +305,25 @@ def list(cls) -> List[str]:
281
305
Gets a list of the fonts installed on the system. The data is returned as a
282
306
String array. This list provides the names of each font for input into
283
307
``create_font()``, which allows Processing to dynamically format fonts.
284
- """
308
+ """
285
309
return cls ._cls .list ()
286
310
287
311
def set_subsetting (self ) -> None :
288
- """new template no description .
312
+ """The documentation for this field or method has not yet been written .
289
313
290
314
Underlying Java method: PFont.setSubsetting
291
315
292
316
Notes
293
317
-----
294
318
295
- new template no description.
296
- """
319
+ The documentation for this field or method has not yet been written. If you know
320
+ what it does, please help out with a pull request to the relevant file in
321
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
322
+ """
297
323
return self ._instance .setSubsetting ()
298
324
299
325
def width (self , c : chr , / ) -> float :
300
- """new template no description .
326
+ """The documentation for this field or method has not yet been written .
301
327
302
328
Underlying Java method: PFont.width
303
329
@@ -310,6 +336,8 @@ def width(self, c: chr, /) -> float:
310
336
Notes
311
337
-----
312
338
313
- new template no description.
314
- """
339
+ The documentation for this field or method has not yet been written. If you know
340
+ what it does, please help out with a pull request to the relevant file in
341
+ https://github.com/hx2A/py5generator/tree/master/py5_docs/Reference/api_en/.
342
+ """
315
343
return self ._instance .width (c )
0 commit comments