跳到主要内容
版本:v10.0

M3D / M3D / Reader / GroupFactory

Class: GroupFactory

M3D.Reader.GroupFactory

Memberof

SView.Reader

Description

组工厂类

Author

ye

Date

2023-6-29

Version

1.0

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new GroupFactory(): GroupFactory

Returns

GroupFactory

Inherited from

MObjectFactory.constructor

Methods

createMObject

createMObject<T>(arg): T

Type parameters

Name
T

Parameters

NameTypeDescription
argT泛型

Returns

T

Description

创建对象

Inherited from

MObjectFactory.createMObject


decodeGroupShape

decodeGroupShape(group, groupShape): void

Parameters

NameTypeDescription
groupGroup组对象
groupShapeanygroup中包含的shape数据json

Returns

void

Static

Description

解析组中包含的shape数据


fromJson

fromJson(json): Map<any, any>

Parameters

NameType
jsonany

Returns

Map<any, any>

Static

Description

组数据json解析