LengthRecord
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.core.vectorpaths.VectorPathRecord
public class LengthRecord extends VectorPathRecord
Subpath Length Record Class
Constructors
Constructor | Description |
---|---|
LengthRecord(byte[] data) | Initializes a new instance of the LengthRecord class. |
LengthRecord() | Initializes a new instance of the LengthRecord class. |
Methods
Method | Description |
---|---|
isClosed() | Gets a value indicating whether this instance is closed. |
setClosed(boolean value) | Sets a value indicating whether this instance is closed. |
isOpen() | Gets a value indicating whether this instance is open. |
setOpen(boolean value) | Sets a value indicating whether this instance is open. |
getRecordCount() | Gets the record count. |
setRecordCount(int value) | Sets the record count. |
getType() | Gets the type. |
getBezierKnotRecordsCount() | Gets the bezier knot records count. |
setBezierKnotRecordsCount(int value) | Sets the bezier knot records count. |
getPathOperations() | Gets the path operations. |
setPathOperations(int value) | Sets the path operations. |
getShapeIndex() | Gets the index of current path shape in layer. |
setShapeIndex(int value) | Sets the index of current path shape in layer. |
LengthRecord(byte[] data)
public LengthRecord(byte[] data)
Initializes a new instance of the LengthRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | The record data. |
LengthRecord()
public LengthRecord()
Initializes a new instance of the LengthRecord class.
isClosed()
public final boolean isClosed()
Gets a value indicating whether this instance is closed.
Value: true
if this instance is closed; otherwise, false
.
Returns: boolean - a value indicating whether this instance is closed.
setClosed(boolean value)
public final void setClosed(boolean value)
Sets a value indicating whether this instance is closed.
Value: true
if this instance is closed; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this instance is closed. |
isOpen()
public final boolean isOpen()
Gets a value indicating whether this instance is open.
Value: true
if this instance is open; otherwise, false
.
Returns: boolean - a value indicating whether this instance is open.
setOpen(boolean value)
public final void setOpen(boolean value)
Sets a value indicating whether this instance is open.
Value: true
if this instance is open; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this instance is open. |
getRecordCount()
public final int getRecordCount()
Gets the record count.
Value: The record count.
Returns: int - the record count.
setRecordCount(int value)
public final void setRecordCount(int value)
Sets the record count.
Value: The record count.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the record count. |
getType()
public short getType()
Gets the type.
Value: The type.
Returns: short - the type.
getBezierKnotRecordsCount()
public final int getBezierKnotRecordsCount()
Gets the bezier knot records count.
Returns: int - the bezier knot records count.
setBezierKnotRecordsCount(int value)
public final void setBezierKnotRecordsCount(int value)
Sets the bezier knot records count.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the bezier knot records count. |
getPathOperations()
public final int getPathOperations()
Gets the path operations.
Returns: int - the path operations.
setPathOperations(int value)
public final void setPathOperations(int value)
Sets the path operations.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the path operations. |
getShapeIndex()
public final int getShapeIndex()
Gets the index of current path shape in layer.
Returns: int - the index of current path shape in layer.
setShapeIndex(int value)
public final void setShapeIndex(int value)
Sets the index of current path shape in layer.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the index of current path shape in layer. |