ImageCollection#
- class ansys.stk.core.graphics.ImageCollection#
A collection of globe image overlay objects.
Overview#
Get the globe image overlay at the specified index. |
|
Check the presence of a globe image overlay in the collection. |
|
Check the presence of a globe image overlay with the specified Uri in the collection. |
|
Remove a globe image overlay from the collection. |
|
Remove all globe image overlay objects from the collection. |
|
Add imageryOverlay to the collection. |
|
Add imageryOverlay to the collection asynchronously. |
|
Get the index of the specified globe image overlay. |
|
Get the index of the globe image overlay with the specified Uri. |
|
Create a globe overlay from the uri, which represents a uri, and adds it to the collection. |
|
Create a globe image overlay from the uri, which represents a uri, and adds it to the collection asynchronously. |
|
Swap the position of two globe image overlay objects. |
|
Swap the position of two globe image overlay objects at the specified indices. |
|
Move the globe image overlay to the specified position. |
|
Move the globe image overlay at the specified index to the specified position. |
|
Brings the globe image overlay to the front of the collection so it is rendered first or on the bottom. |
|
Send the globe image overlay to the back of the collection so it is rendered last or on the top. |
|
|
βββReturn an IImageCollectionEventHandler that is subscribed to handle events associated with this instance of ImageCollection.βββ |
Get the number of globe overlay objects in the collection. |
|
Get whether or not the collection is read only. |
|
Construct an iterator that can be used to iterate the collection. |
Import detail#
from ansys.stk.core.graphics import ImageCollection
Property detail#
- property ImageCollection._new_enum: EnumeratorProxy#
Construct an iterator that can be used to iterate the collection.
Method detail#
- ImageCollection.item(self, index: int) IGlobeImageOverlay #
Get the globe image overlay at the specified index.
- Parameters:
index :
int
- Returns:
IGlobeImageOverlay
- ImageCollection.contains(self, imagery_overlay: IGlobeImageOverlay) bool #
Check the presence of a globe image overlay in the collection.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.contains_uri_string(self, string_uri: str) bool #
Check the presence of a globe image overlay with the specified Uri in the collection.
- ImageCollection.remove(self, globe_overlay: IGlobeImageOverlay) bool #
Remove a globe image overlay from the collection.
- Parameters:
globe_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.clear(self) None #
Remove all globe image overlay objects from the collection.
- Returns:
- ImageCollection.add(self, imagery_overlay: IGlobeImageOverlay) None #
Add imageryOverlay to the collection.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.add_async(self, imagery_overlay: IGlobeImageOverlay) None #
Add imageryOverlay to the collection asynchronously.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.index_of(self, imagery_overlay: IGlobeImageOverlay) int #
Get the index of the specified globe image overlay.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.index_of_uri_string(self, string_uri: str) int #
Get the index of the globe image overlay with the specified Uri.
- ImageCollection.add_uri_string(self, uri: str) IGlobeImageOverlay #
Create a globe overlay from the uri, which represents a uri, and adds it to the collection.
- Parameters:
uri :
str
- Returns:
IGlobeImageOverlay
- ImageCollection.add_async_uri_string(self, uri: str) IGlobeImageOverlay #
Create a globe image overlay from the uri, which represents a uri, and adds it to the collection asynchronously.
- Parameters:
uri :
str
- Returns:
IGlobeImageOverlay
- ImageCollection.swap(self, imagery_overlay1: IGlobeImageOverlay, imagery_overlay2: IGlobeImageOverlay) None #
Swap the position of two globe image overlay objects.
- Parameters:
imagery_overlay1 :
IGlobeImageOverlay
imagery_overlay2 :
IGlobeImageOverlay
- Returns:
- ImageCollection.swap_by_index(self, index1: int, index2: int) None #
Swap the position of two globe image overlay objects at the specified indices.
- ImageCollection.move(self, imagery_overlay: IGlobeImageOverlay, new_position: int) None #
Move the globe image overlay to the specified position.
- ImageCollection.move_by_index(self, index: int, new_position: int) None #
Move the globe image overlay at the specified index to the specified position.
- ImageCollection.bring_to_front(self, imagery_overlay: IGlobeImageOverlay) None #
Brings the globe image overlay to the front of the collection so it is rendered first or on the bottom.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns:
- ImageCollection.send_to_back(self, imagery_overlay: IGlobeImageOverlay) None #
Send the globe image overlay to the back of the collection so it is rendered last or on the top.
- Parameters:
imagery_overlay :
IGlobeImageOverlay
- Returns: