Skip to content

Commit 395d145

Browse files
committed
add [HzHLApiUtils]
1 parent dea575a commit 395d145

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

src/pages/api/enums/FontSource.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[@hz/add-on-hz-hlapi-sdk](../overview.md) / FontSource
2+
3+
# Enumeration: FontSource
4+
5+
## Table of contents
6+
7+
### Enumeration Members
8+
9+
- [AF](FontSource.md#AF)
10+
- [BYOF](FontSource.md#BYOF)
11+
- [unknown](FontSource.md#unknown)
12+
13+
## Enumeration Members
14+
15+
### <a id="AF" name="AF"></a> AF
16+
17+
**AF** = ``"AF"``
18+
19+
#### Defined in
20+
21+
support/HzScenegraphTypes.ts:151
22+
23+
___
24+
25+
### <a id="BYOF" name="BYOF"></a> BYOF
26+
27+
**BYOF** = ``"BYOF"``
28+
29+
#### Defined in
30+
31+
support/HzScenegraphTypes.ts:152
32+
33+
___
34+
35+
### <a id="unknown" name="unknown"></a> unknown
36+
37+
**unknown** = ``"unknown"``
38+
39+
#### Defined in
40+
41+
support/HzScenegraphTypes.ts:150
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[@hz/add-on-hz-hlapi-sdk](../overview.md) / HzHLApiUtils
2+
3+
# Interface: HzHLApiUtils
4+
5+
## Table of contents
6+
7+
### Methods
8+
9+
- [createColor](HzHLApiUtils.md#createColor)
10+
11+
## Methods
12+
13+
### <a id="createColor" name="createColor"></a> createColor
14+
15+
**createColor**(`red`, `green`, `blue`, `alpha`): [`Color`](../classes/Color.md)
16+
17+
Create a new Color. All color components should be in a 0 - 1 range. Non-finite
18+
values are treated as 0. Any values outside this range are clamped to within the
19+
range.
20+
21+
#### Parameters
22+
23+
| Name | Type | Description |
24+
| :------ | :------ | :------ |
25+
| `red` | `number` | The red component in a range from 0 - 1. |
26+
| `green` | `number` | The green component in a range from 0 - 1. |
27+
| `blue` | `number` | The blue component in a range from 0 - 1. |
28+
| `alpha` | `number` | (optional) The alpha component in a range from 0 - 1. |
29+
30+
#### Returns
31+
32+
[`Color`](../classes/Color.md)
33+
34+
#### Defined in
35+
36+
support/HzHLApiUtils.ts:32

src/pages/api/overview.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@
44

55
## Table of contents
66

7+
### References
8+
9+
- [ListSequenceGeneratorType](overview.md#ListSequenceGeneratorType)
10+
- [ParagraphDirection](overview.md#ParagraphDirection)
11+
712
### Enumerations
813

914
- [ArrowHeadType](enums/ArrowHeadType.md)
1015
- [BlendModeValue](enums/BlendModeValue.md)
1116
- [FillTypeValue](enums/FillTypeValue.md)
17+
- [FontSource](enums/FontSource.md)
1218
- [InternalListSequenceGeneratorType](enums/InternalListSequenceGeneratorType.md)
1319
- [InternalParagraphDirection](enums/InternalParagraphDirection.md)
1420
- [SceneNodeTypeValueID](enums/SceneNodeTypeValueID.md)
@@ -41,6 +47,7 @@
4147
- [BitmapImage](interfaces/BitmapImage.md)
4248
- [ColorFill](interfaces/ColorFill.md)
4349
- [Fill](interfaces/Fill.md)
50+
- [HzHLApiUtils](interfaces/HzHLApiUtils.md)
4451
- [IFillableNode](interfaces/IFillableNode.md)
4552
- [IRectangularNode](interfaces/IRectangularNode.md)
4653
- [InternalCharacterStyle](interfaces/InternalCharacterStyle.md)
@@ -53,6 +60,18 @@
5360
- [Entity](overview.md#Entity)
5461
- [FillTypeValueID](overview.md#FillTypeValueID)
5562

63+
## References
64+
65+
### <a id="ListSequenceGeneratorType" name="ListSequenceGeneratorType"></a> ListSequenceGeneratorType
66+
67+
Renames and re-exports [InternalListSequenceGeneratorType](enums/InternalListSequenceGeneratorType.md)
68+
69+
___
70+
71+
### <a id="ParagraphDirection" name="ParagraphDirection"></a> ParagraphDirection
72+
73+
Renames and re-exports [InternalParagraphDirection](enums/InternalParagraphDirection.md)
74+
5675
## Type Aliases
5776

5877
### <a id="Entity" name="Entity"></a> Entity

0 commit comments

Comments
 (0)