public abstract class EdgeRecord extends ShapeRecord
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_DELTA_IN_TWIPS
The maximum value that an EdgeRecord delta can take in SWF.
|
| Constructor and Description |
|---|
EdgeRecord() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
addToDelta, getReferenceList, visitDependentspublic static final int MAX_DELTA_IN_TWIPS
This limit arises due to the SWF encoding format of a Shape's EdgeRecord. A delta is encoded using a specified bit length, however, the number of bits used to record this bitlength (minus 2) is restricted to 4 bits, which is 15 + 2 = 17 bits for unsigned, or 16 bits for signed.
This restricts the signed delta values to 65535 twips, i.e. (2 pow 16) - 1.
public boolean equals(Object o)
equals in class ShapeRecordCopyright © 2018 The Apache Software Foundation. All rights reserved.