Home > IPCB_PrimitiveAttribute > (constructor)
IPCB_PrimitiveAttribute.(constructor)
Constructs a new instance of the IPCB_PrimitiveAttribute class
签名
typescript
function constructor(
layer: TPCB_LayersOfImage,
x: number | null,
y: number | null,
key: string,
value: string,
keyVisible: boolean,
valueVisible: boolean,
fontFamily: string,
fontSize: number,
lineWidth: number,
alignMode: EPCB_PrimitiveStringAlignMode,
rotation: number,
reverse: boolean,
expansion: number,
mirror: boolean,
primitiveLock: boolean,
primitiveId: string,
parentPrimitiveId: string,
);1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
参数名
参数 | 类型 | 描述 |
|---|---|---|
layer | ||
x | number | null | |
y | number | null | |
key | string | |
value | string | |
keyVisible | boolean | |
valueVisible | boolean | |
fontFamily | string | |
fontSize | number | |
lineWidth | number | |
alignMode | ||
rotation | number | |
reverse | boolean | |
expansion | number | |
mirror | boolean | |
primitiveLock | boolean | |
primitiveId | string | |
parentPrimitiveId | string |