Formater

new Formater()

格式管理类

Members

(readonly) types

获取格式类型list

Methods

_generateGroups(gs, isEmptyBlock) → {*}

格式分组
Parameters:
NameTypeDescription
gs*
isEmptyBlock*
Returns:
Type: 
*

_invokeRender(vn, current) → {*}

渲染调用
Parameters:
NameTypeDescription
vn*
current*
Returns:
Type: 
*

get(key) → {*}

根据格式名获取格式
Parameters:
NameTypeDescription
key*
Returns:
Type: 
*

inject(propName, prop)

依赖注入
Parameters:
NameTypeDescription
propName*
prop*

register(formats)

注册格式
Parameters:
NameTypeDescription
formats*

render(path) → {*}

path 渲染
Parameters:
NameTypeDescription
path*
Returns:
Type: 
*

(static) exports.mergePointsContainer(path, basePath)

合并选区断点容器
Parameters:
NameTypeDescription
path*
basePath*

(static) exports.mergeTextPath(paths) → {*}

文本路径合并
Parameters:
NameTypeDescription
paths*
Returns:
Type: 
*