public class LineRepresentation extends Command
| Constructor and Description |
|---|
LineRepresentation(CgmFile container) |
LineRepresentation(CgmFile container,
int index,
int lineType,
double width,
CgmColor color) |
| Modifier and Type | Method and Description |
|---|---|
CgmColor |
getColor() |
int |
getIndex() |
int |
getLineType() |
double |
getLineWidth() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setColor(CgmColor value) |
void |
setIndex(int value) |
void |
setLineType(int value) |
void |
setLineWidth(double value) |
void |
writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
|
void |
writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
|
assert_, getElementClass, getElementId, toStringpublic LineRepresentation(CgmFile container)
public final int getIndex()
public final void setIndex(int value)
public final int getLineType()
public final void setLineType(int value)
public final double getLineWidth()
public final void setLineWidth(double value)
public final CgmColor getColor()
public final void setColor(CgmColor value)
public void readFromBinary(IBinaryReader reader)
CommandReads the binary data from the reader
readFromBinary in class Commandpublic void writeAsBinary(IBinaryWriter writer)
CommandWrites/exports the command as binary mode
writeAsBinary in class Commandwriter - The writer to write the binary content to.public void writeAsClearText(IClearTextWriter writer)
CommandWrites/exports the command as clear text mode
writeAsClearText in class Commandwriter - The text writer to write the clear text to.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.