CF2Image
Inheritance: java.lang.Object, Image
CFF2 image class
Constructors
| Constructor | Description |
|---|---|
| CF2Image() | Initializes a new instance of the CF2Image class |
Methods
| Method | Description |
|---|---|
| isCached() | Gets is image cached |
| getMaxPoint() | Gets the max point. |
| getMinPoint() | Gets the min point. |
| getHeight() | Gets the image height. |
| getWidth() | Gets the image width. |
| getOrderSecton() | Gets the order secton. |
| getAuxSecton() | Gets the aux secton. |
| getMainSecton() | Gets the main secton. |
| getSubSectons() | Gets the sub sectons. |
| getLineTypeColors() | Colors of the line types. |
| getOrderOutputDescribing() | Description of the order section output |
| setOrderOutputDescribing(CF2OrderOutputDescribing value) | Description of the order section output |
| getLinesOutputDescribing() | Description of the line types output |
| setLinesOutputDescribing(CF2LinesOutputDescribing value) | Description of the line types output |
| loadMessageFile(String filePath) | Loads a message file from the specified path. |
| loadMessageFile(InputStream stream) | Loads a message file from the specified stream. |
| cacheData() | Caches data |
| updateSize() | Update size |
| getStrings() | Gets all string values from image. |
CF2Image()
public CF2Image()
Initializes a new instance of the CF2Image class
isCached()
public boolean isCached()
Gets is image cached
Returns: boolean
getMaxPoint()
public final Cad3DPoint getMaxPoint()
Gets the max point.
Returns: Cad3DPoint
getMinPoint()
public final Cad3DPoint getMinPoint()
Gets the min point.
Returns: Cad3DPoint
getHeight()
public int getHeight()
Gets the image height.
Returns: int - The image height.
getWidth()
public int getWidth()
Gets the image width.
Returns: int - The image width.
getOrderSecton()
public final CF2Order getOrderSecton()
Gets the order secton.
Returns: CF2Order - The order section.
getAuxSecton()
public final CF2Aux getAuxSecton()
Gets the aux secton.
Returns: CF2Aux - The aux section.
getMainSecton()
public final CF2Main getMainSecton()
Gets the main secton.
Returns: CF2Main - The main section.
getSubSectons()
public final List<CF2Sub> getSubSectons()
Gets the sub sectons.
Returns: List
getLineTypeColors()
public final com.aspose.ms.System.Collections.Generic.Dictionary<Integer,com.aspose.foundation.drawing.DrColor> getLineTypeColors()
Colors of the line types.
Returns: com.aspose.ms.System.Collections.Generic.Dictionary<Integer,com.aspose.foundation.drawing.DrColor> - The colors of the line types.
getOrderOutputDescribing()
public final CF2OrderOutputDescribing getOrderOutputDescribing()
Description of the order section output
Returns: CF2OrderOutputDescribing
setOrderOutputDescribing(CF2OrderOutputDescribing value)
public final void setOrderOutputDescribing(CF2OrderOutputDescribing value)
Description of the order section output
getLinesOutputDescribing()
public final CF2LinesOutputDescribing getLinesOutputDescribing()
Description of the line types output
Returns: CF2LinesOutputDescribing
setLinesOutputDescribing(CF2LinesOutputDescribing value)
public final void setLinesOutputDescribing(CF2LinesOutputDescribing value)
Description of the line types output
loadMessageFile(String filePath)
public final void loadMessageFile(String filePath)
Loads a message file from the specified path.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The file path of the message file. |
loadMessageFile(InputStream stream)
public final void loadMessageFile(InputStream stream)
Loads a message file from the specified stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | InputStream | The stream of the message file. |
cacheData()
public void cacheData()
Caches data
updateSize()
public final void updateSize()
Update size
getStrings()
public String[] getStrings()
Gets all string values from image.
Returns: String[] - The array with string values.