Skip to content

Commit 3110107

Browse files
committed
Fix docs for typography
1 parent bfddb97 commit 3110107

File tree

3 files changed

+847
-667
lines changed

3 files changed

+847
-667
lines changed

docs/parameterData.json

Lines changed: 107 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,6 +1997,106 @@
19971997
]
19981998
]
19991999
},
2000+
"text": {
2001+
"overloads": [
2002+
[]
2003+
]
2004+
},
2005+
"textAlign": {
2006+
"overloads": [
2007+
[]
2008+
]
2009+
},
2010+
"textAscent": {
2011+
"overloads": [
2012+
[]
2013+
]
2014+
},
2015+
"textDescent": {
2016+
"overloads": [
2017+
[]
2018+
]
2019+
},
2020+
"textLeading": {
2021+
"overloads": [
2022+
[]
2023+
]
2024+
},
2025+
"textMode": {
2026+
"overloads": [
2027+
[]
2028+
]
2029+
},
2030+
"textFont": {
2031+
"overloads": [
2032+
[]
2033+
]
2034+
},
2035+
"textSize": {
2036+
"overloads": [
2037+
[]
2038+
]
2039+
},
2040+
"textStyle": {
2041+
"overloads": [
2042+
[]
2043+
]
2044+
},
2045+
"textWidth": {
2046+
"overloads": [
2047+
[]
2048+
]
2049+
},
2050+
"textWrap": {
2051+
"overloads": [
2052+
[]
2053+
]
2054+
},
2055+
"textBounds": {
2056+
"overloads": [
2057+
[]
2058+
]
2059+
},
2060+
"textDirection": {
2061+
"overloads": [
2062+
[]
2063+
]
2064+
},
2065+
"textProperty": {
2066+
"overloads": [
2067+
[]
2068+
]
2069+
},
2070+
"textProperties": {
2071+
"overloads": [
2072+
[]
2073+
]
2074+
},
2075+
"fontBounds": {
2076+
"overloads": [
2077+
[]
2078+
]
2079+
},
2080+
"fontWidth": {
2081+
"overloads": [
2082+
[]
2083+
]
2084+
},
2085+
"fontAscent": {
2086+
"overloads": [
2087+
[]
2088+
]
2089+
},
2090+
"fontDescent": {
2091+
"overloads": [
2092+
[]
2093+
]
2094+
},
2095+
"fontWeight": {
2096+
"overloads": [
2097+
[]
2098+
]
2099+
},
20002100
"append": {
20012101
"overloads": [
20022102
[
@@ -3070,13 +3170,6 @@
30703170
[]
30713171
]
30723172
},
3073-
"loadFont": {
3074-
"overloads": [
3075-
[
3076-
null
3077-
]
3078-
]
3079-
},
30803173
"findClosestSchema": {
30813174
"overloads": [
30823175
[
@@ -3368,87 +3461,6 @@
33683461
[]
33693462
]
33703463
},
3371-
"textBounds": {
3372-
"overloads": [
3373-
[
3374-
"String",
3375-
"Number",
3376-
"Number",
3377-
"Number",
3378-
"Number"
3379-
]
3380-
]
3381-
},
3382-
"fontBounds": {
3383-
"overloads": [
3384-
[
3385-
"String",
3386-
"Number",
3387-
"Number",
3388-
"Number",
3389-
"Number"
3390-
]
3391-
]
3392-
},
3393-
"textWidth": {
3394-
"overloads": [
3395-
[
3396-
"String"
3397-
]
3398-
]
3399-
},
3400-
"fontWidth": {
3401-
"overloads": [
3402-
[
3403-
"String"
3404-
]
3405-
]
3406-
},
3407-
"textAscent": {
3408-
"overloads": [
3409-
[
3410-
null
3411-
]
3412-
]
3413-
},
3414-
"fontAscent": {
3415-
"overloads": [
3416-
[]
3417-
]
3418-
},
3419-
"textDescent": {
3420-
"overloads": [
3421-
[
3422-
null
3423-
]
3424-
]
3425-
},
3426-
"fontDescent": {
3427-
"overloads": [
3428-
[]
3429-
]
3430-
},
3431-
"textFont": {
3432-
"overloads": [
3433-
[
3434-
"p5.Font|string",
3435-
"Number",
3436-
"Object"
3437-
]
3438-
]
3439-
},
3440-
"textSize": {
3441-
"overloads": [
3442-
[
3443-
null
3444-
]
3445-
]
3446-
},
3447-
"textProperty": {
3448-
"overloads": [
3449-
[]
3450-
]
3451-
},
34523464
"textProperties": {
34533465
"overloads": [
34543466
[]
@@ -4693,6 +4705,13 @@
46934705
]
46944706
}
46954707
},
4708+
"p5.Font": {
4709+
"hasGlyphData": {
4710+
"overloads": [
4711+
[]
4712+
]
4713+
}
4714+
},
46964715
"p5.Camera": {
46974716
"perspective": {
46984717
"overloads": [

0 commit comments

Comments
 (0)