public class DrawingManager2
extends java.lang.Object
Constructor and Description |
---|
DrawingManager2(EscherDggRecord dgg) |
Modifier and Type | Method and Description |
---|---|
int |
allocateShapeId(EscherDgRecord dg)
Allocates new shape id for the drawing group
(为绘图组分配新的形状 ID)
|
void |
clearDrawingGroups()
Clears the cached list of drawing groups
(清除缓存的绘图组列表)
|
EscherDgRecord |
createDgRecord()
Creates a new drawing group
(创建一个新的绘图组)
|
short |
findNewDrawingGroupId()
Finds the next available (1 based) drawing group id
(查找下一个可用的(基于 1 的)绘图组 ID)
|
EscherDggRecord |
getDgg()
Returns the drawing group container record
(返回绘图组容器记录)
|
void |
incrementDrawingsSaved()
Increment the drawing counter
(增加绘图计数器)
|
public DrawingManager2(EscherDggRecord dgg)
public void clearDrawingGroups()
public EscherDgRecord createDgRecord()
public int allocateShapeId(EscherDgRecord dg)
dg
- the EscherDgRecord which receives the new shape
(dg - 接收新形状的 EscherDgRecord)
public short findNewDrawingGroupId()
public EscherDggRecord getDgg()
public void incrementDrawingsSaved()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.