The first level of shape records use a EscherClientAnchorRecord instead.
EscherClientAnchorRecord
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private int | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherChildAnchorRecord | copy()
Implements abstract org. Implements org.
|
| public int | fillFields(byte[]
The byte array containing the serialized escher
records. data, int The offset into the byte array. offset, EscherRecordFactory A factory for creating new escher records. recordFactory)Implements abstract org. The contract of this method is to deserialize an escher record including its children. |
| public int | Returns: the x offset of the top left pointRetrieves offset within the parent coordinate space for the top left point. |
| public int | Returns: the x offset of the bottom right pointRetrieves offset within the parent coordinate space for the bottom right point. |
| public int | Returns: the y offset of the top left pointGets offset within the parent coordinate space for the top left point. |
| public int | Returns: the y offset of the bottom right pointGets the offset within the parent coordinate space for the bottom right point. |
| public Map | |
| public Enum | |
| public short | |
| public String | getRecordName()
Implements abstract org. Subclasses should return the short name for this escher record. |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public int | serialize(int
the offset within the byte array offset, byte[] the data array to serialize to data, EscherSerializationListener a listener for begin and end serialization events. This
is useful because the serialization is
hierarchical/recursive and sometimes you need to be able
break into that. listener)Implements abstract org. Serializes the record to an existing byte array. |
| public void | setDx1(int
the x offset of the top left point field_1_dx1)Sets offset within the parent coordinate space for the top left point. |
| public void | setDx2(int
the x offset of the bottom right point field_3_dx2)Sets offset within the parent coordinate space for the bottom right point. |
| public void | setDy1(int
the y offset of the top left point field_2_dy1)Sets offset within the parent coordinate space for the top left point. |
| public void | setDy2(int
the y offset of the bottom right point field_4_dy2)Sets the offset within the parent coordinate space for the bottom right point. |
| field_1_dx1 | back to summary |
|---|---|
| private int field_1_dx1 | |
| field_2_dy1 | back to summary |
|---|---|
| private int field_2_dy1 | |
| field_3_dx2 | back to summary |
|---|---|
| private int field_3_dx2 | |
| field_4_dy2 | back to summary |
|---|---|
| private int field_4_dy2 | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| EscherChildAnchorRecord | back to summary |
|---|---|
| public EscherChildAnchorRecord() | |
| EscherChildAnchorRecord | back to summary |
|---|---|
| public EscherChildAnchorRecord(EscherChildAnchorRecord other) | |
| copy | back to summary |
|---|---|
| public EscherChildAnchorRecord copy() Implements abstract org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Implements abstract org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| getDx1 | back to summary |
|---|---|
| public int getDx1() Retrieves offset within the parent coordinate space for the top left point.
| |
| getDx2 | back to summary |
|---|---|
| public int getDx2() Retrieves offset within the parent coordinate space for the bottom right point.
| |
| getDy1 | back to summary |
|---|---|
| public int getDy1() Gets offset within the parent coordinate space for the top left point.
| |
| getDy2 | back to summary |
|---|---|
| public int getDy2() Gets the offset within the parent coordinate space for the bottom right point.
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getRecordId | back to summary |
|---|---|
| public short getRecordId() Overrides org. Doc from org. Return the current record id.
| |
| getRecordName | back to summary |
|---|---|
| public String getRecordName() Implements abstract org. Doc from org. Subclasses should return the short name for this escher record. | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Implements abstract org. Doc from org. Serializes the record to an existing byte array.
| |
| setDx1 | back to summary |
|---|---|
| public void setDx1(int field_1_dx1) Sets offset within the parent coordinate space for the top left point.
| |
| setDx2 | back to summary |
|---|---|
| public void setDx2(int field_3_dx2) Sets offset within the parent coordinate space for the bottom right point.
| |
| setDy1 | back to summary |
|---|---|
| public void setDy1(int field_2_dy1) Sets offset within the parent coordinate space for the top left point.
| |
| setDy2 | back to summary |
|---|---|
| public void setDy2(int field_4_dy2) Sets the offset within the parent coordinate space for the bottom right point.
| |