StlImage
Inheritance: java.lang.Object, Image
STL image class.
Constructors
| Constructor | Description |
|---|---|
| StlImage() |
Methods
| Method | Description |
|---|---|
| getFacets() | Gets or sets the image facet objects. |
| setFacets(List | Gets or sets the image facet objects. |
| 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 . |
| cacheData() | Caches the data and ensures no additional data loading will be performed from the underlying P:Aspose.CAD.DataStreamSupporter.DataStreamContainer . |
| getWidth() | Gets the image width. Prints drawing’s width Image drawing = … System.Console.WriteLine(“Drawing’s width: " + drawing.Width); Value: The image width. |
| getHeight() | Gets the image height. Prints drawing’s height Image drawing = … System.Console.WriteLine(“Drawing’s height: " + drawing.Height); Value: The image height. |
StlImage()
public StlImage()
getFacets()
public final List<TriangularFacet> getFacets()
Gets or sets the image facet objects.
Returns: List
setFacets(List value)
public final void setFacets(List<TriangularFacet> value)
Gets or sets the image facet objects.
isCached()
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 .
Returns: boolean
cacheData()
public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying P:Aspose.CAD.DataStreamSupporter.DataStreamContainer .
getWidth()
public int getWidth()
Gets the image width. Prints drawing’s width Image drawing = … System.Console.WriteLine(“Drawing’s width: " + drawing.Width); Value: The image width.
Returns: int - The image width.
getHeight()
public int getHeight()
Gets the image height. Prints drawing’s height Image drawing = … System.Console.WriteLine(“Drawing’s height: " + drawing.Height); Value: The image height.
Returns: int - The image height.