public class HatchStyleDefinition extends Command
| Modifier and Type | Class and Description |
|---|---|
static class |
HatchStyleDefinition.HatchStyle |
| Constructor and Description |
|---|
HatchStyleDefinition(CgmFile container) |
HatchStyleDefinition(CgmFile container,
int index,
HatchStyleDefinition.HatchStyle style,
double firstX,
double firstY,
double secondX,
double secondY,
double cycleLength,
int[] gapWidths,
int[] lineTypes) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCycleLength() |
double |
getFirstDirX() |
double |
getFirstDirY() |
List<Integer> |
getGapWidths() |
int |
getIndex() |
List<Integer> |
getLineTypes() |
double |
getSecondDirX() |
double |
getSecondDirY() |
HatchStyleDefinition.HatchStyle |
getStyle() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setCycleLength(double value) |
void |
setFirstDirX(double value) |
void |
setFirstDirY(double value) |
void |
setGapWidths(List<Integer> value) |
void |
setIndex(int value) |
void |
setLineTypes(List<Integer> value) |
void |
setSecondDirX(double value) |
void |
setSecondDirY(double value) |
void |
setStyle(HatchStyleDefinition.HatchStyle 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 HatchStyleDefinition(CgmFile container)
public HatchStyleDefinition(CgmFile container, int index, HatchStyleDefinition.HatchStyle style, double firstX, double firstY, double secondX, double secondY, double cycleLength, int[] gapWidths, int[] lineTypes)
public final int getIndex()
public final void setIndex(int value)
public final HatchStyleDefinition.HatchStyle getStyle()
public final void setStyle(HatchStyleDefinition.HatchStyle value)
public final double getFirstDirX()
public final void setFirstDirX(double value)
public final double getFirstDirY()
public final void setFirstDirY(double value)
public final double getSecondDirX()
public final void setSecondDirX(double value)
public final double getSecondDirY()
public final void setSecondDirY(double value)
public final double getCycleLength()
public final void setCycleLength(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.