RasterAttributes#
- class ansys.stk.core.graphics.RasterAttributes#
The attributes describing a raster dataset. raster attributes define the memory layout of a raster, and includes properties defining the order of each raster band that the raster contains, as specified by the raster formatβ¦
Overview#
Get whether the raster contains the given band. |
Get the raster format associated with the attributes. |
|
Get the raster type associated with the attributes. |
|
Get the raster orientation associated with the attributes. |
|
Get the size of the raster data in bytes. |
|
Get the width of the raster in pixels. |
|
Get the height of the raster in pixels. |
|
Get the pixel aspect ratio of the raster. |
|
Get the row alignment of the raster data in bytes. |
|
Get the number of bands comprising the raster. |
|
Get the stride or scan/row width in bytes of the raster data. |
Import detail#
from ansys.stk.core.graphics import RasterAttributes
Property detail#
- property RasterAttributes.format: RasterFormat#
Get the raster format associated with the attributes.
- property RasterAttributes.type: RasterType#
Get the raster type associated with the attributes.
- property RasterAttributes.orientation: RasterOrientation#
Get the raster orientation associated with the attributes.
Method detail#
- RasterAttributes.has_band(self, band: RasterBand) bool #
Get whether the raster contains the given band.
- Parameters:
band :
RasterBand
- Returns: