public class SegmentTransformation extends Command
Class=8, ElementId=4
| Constructor and Description |
|---|
SegmentTransformation(CgmFile container) |
SegmentTransformation(CgmFile container,
int id,
double scaleX,
double rotationX,
double rotationY,
double scaleY,
double translationX,
double translationY) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIdentifier() |
double |
getRotationX() |
double |
getRotationY() |
double |
getScaleX() |
double |
getScaleY() |
double |
getTranslationX() |
double |
getTranslationY() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setIdentifier(int value) |
void |
setRotationX(double value) |
void |
setRotationY(double value) |
void |
setScaleX(double value) |
void |
setScaleY(double value) |
void |
setTranslationX(double value) |
void |
setTranslationY(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 SegmentTransformation(CgmFile container)
public SegmentTransformation(CgmFile container, int id, double scaleX, double rotationX, double rotationY, double scaleY, double translationX, double translationY)
public final int getIdentifier()
public final void setIdentifier(int value)
public final double getScaleX()
public final void setScaleX(double value)
public final double getRotationX()
public final void setRotationX(double value)
public final double getRotationY()
public final void setRotationY(double value)
public final double getScaleY()
public final void setScaleY(double value)
public final double getTranslationX()
public final void setTranslationX(double value)
public final double getTranslationY()
public final void setTranslationY(double 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.