public final class ColladaImage extends Image
COLLADA image
Constructor and Description |
---|
ColladaImage(Collada colladaData)
Initializes a new instance of the
ColladaImage class. |
Modifier and Type | Method and Description |
---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.DataStreamContainer (DataStreamSupporter.getDataStreamContainer() / ). |
int |
getHeight()
Gets the image height.
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
|
canLoad, canLoad, canLoad, canLoad, canSave, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getStrings, getUnitlessDefaultUnitType, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalette
public ColladaImage(Collada colladaData)
Initializes a new instance of the ColladaImage
class.
colladaData
- The COLLADA data.public boolean isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
Value:true
if object's data is cached; otherwise, false
.isCached
in class com.aspose.cad.DataStreamSupporter
public int getWidth()
Gets the image width.
Value: The image width.Prints drawing's widthImage drawing = ... System.Console.WriteLine("Drawing's width: " + drawing.Width);
getWidth
in interface IObjectWithBounds
getWidth
in class Image
public int getHeight()
Gets the image height.
Value: The image height.Prints drawing's heightImage drawing = ... System.Console.WriteLine("Drawing's height: " + drawing.Height);
getHeight
in interface IObjectWithBounds
getHeight
in class Image
public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer
(DataStreamSupporter.getDataStreamContainer()
/ ).
cacheData
in class com.aspose.cad.DataStreamSupporter