public class CopySegment extends Command
| Constructor and Description |
|---|
CopySegment(CgmFile container) |
CopySegment(CgmFile container,
int id,
double xScale,
double xRotation,
double yRotation,
double yScale,
double xTranslation,
double yTranslation,
boolean flag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFlag() |
int |
getId() |
double |
getXRotation() |
double |
getXScale() |
double |
getXTranslation() |
double |
getYRotation() |
double |
getYScale() |
double |
getYTranslation() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setFlag(boolean value) |
void |
setId(int value) |
void |
setXRotation(double value) |
void |
setXScale(double value) |
void |
setXTranslation(double value) |
void |
setYRotation(double value) |
void |
setYScale(double value) |
void |
setYTranslation(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 CopySegment(CgmFile container)
public CopySegment(CgmFile container, int id, double xScale, double xRotation, double yRotation, double yScale, double xTranslation, double yTranslation, boolean flag)
public final int getId()
public final void setId(int value)
public final double getXScale()
public final void setXScale(double value)
public final double getXRotation()
public final void setXRotation(double value)
public final double getYRotation()
public final void setYRotation(double value)
public final double getYScale()
public final void setYScale(double value)
public final double getXTranslation()
public final void setXTranslation(double value)
public final double getYTranslation()
public final void setYTranslation(double value)
public final boolean getFlag()
public final void setFlag(boolean 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.