public class TextRepresentation extends Command
| Constructor and Description |
|---|
TextRepresentation(CgmFile container) |
TextRepresentation(CgmFile container,
int bundleIndex,
int fontIndex,
TextPrecisionType precision,
double spacing,
double expansion,
CgmColor color) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBundleIndex() |
CgmColor |
getColor() |
double |
getExpansion() |
int |
getFontIndex() |
TextPrecisionType |
getPrecision() |
double |
getSpacing() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setBundleIndex(int value) |
void |
setColor(CgmColor value) |
void |
setExpansion(double value) |
void |
setFontIndex(int value) |
void |
setPrecision(TextPrecisionType value) |
void |
setSpacing(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 TextRepresentation(CgmFile container)
public TextRepresentation(CgmFile container, int bundleIndex, int fontIndex, TextPrecisionType precision, double spacing, double expansion, CgmColor color)
public final int getBundleIndex()
public final void setBundleIndex(int value)
public final int getFontIndex()
public final void setFontIndex(int value)
public final TextPrecisionType getPrecision()
public final void setPrecision(TextPrecisionType value)
public final double getSpacing()
public final void setSpacing(double value)
public final double getExpansion()
public final void setExpansion(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.