PyANGKernel.GKGeoImage¶
- class GKGeoImage¶
-
Synopsis¶
Methods¶
def
__init__()def
getImage()def
getImageHeight()def
getImageWidth()def
getPath()def
getXTransform()def
getYTransform()def
setImageHeight()def
setImageWidth()def
setPath()def
setXTransform()def
setYTransform()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
A GeoImage is basically an image that can contain geographical information.
- __init__()¶
It creates and returns a QImage object from the whole GeoImage with the desired size.
- getImage(startX, startY, originWidth, originHeight, destinationWidth, destinationHeight)
- Parameters:
startX – int
startY – int
originWidth – int
originHeight – int
destinationWidth – int
destinationHeight – int
- Return type:
It creates and returns a QImage object from the desired region of the GeoImage.
It gets the transformation that is being applied on the X axis of the image (modifies the width of the image).
It gets the transformation that is being applied on the Y axis of the image (modifies the height of the image).
- setImageHeight(aHeight)¶
- Parameters:
aHeight – int
- setImageWidth(aWidth)¶
- Parameters:
aWidth – int
- setPath(aPath)¶
- Parameters:
aPath – str
- setXTransform(xTransform)¶
- Parameters:
xTransform – float
It sets the transformation to be applied on the X axis of the image (modifies the width of the image).
- setYTransform(yTransform)¶
- Parameters:
yTransform – float
It sets the transformation to be applied on the Y axis of the image (modifies the height of the image).