public class LengthRecord extends VectorPathRecord
Closed Subpath Length Record Class
Constructor and Description |
---|
LengthRecord(byte[] data)
Initializes a new instance of the
LengthRecord class. |
Modifier and Type | Method and Description |
---|---|
short |
getType()
Gets the type.
|
boolean |
isClosed()
Gets a value indicating whether this instance is closed.
|
boolean |
isOpen()
Gets a value indicating whether this instance is open.
|
void |
setClosed(boolean value)
Sets a value indicating whether this instance is closed.
|
void |
setOpen(boolean value)
Sets a value indicating whether this instance is open.
|
public LengthRecord(byte[] data)
Initializes a new instance of the LengthRecord
class.
data
- The record data.PsdImageArgumentException
- Incorrect data for LengthRecord creationpublic final boolean isClosed()
Gets a value indicating whether this instance is closed.
Value:true
if this instance is closed; otherwise, false
.public final void setClosed(boolean value)
Sets a value indicating whether this instance is closed.
Value:true
if this instance is closed; otherwise, false
.value
- a value indicating whether this instance is closed.public final boolean isOpen()
Gets a value indicating whether this instance is open.
Value:true
if this instance is open; otherwise, false
.public final void setOpen(boolean value)
Sets a value indicating whether this instance is open.
Value:true
if this instance is open; otherwise, false
.value
- a value indicating whether this instance is open.public short getType()
Gets the type.
Value: The type.getType
in class VectorPathRecord