IScreenOverlayCollectionBase#
- class ansys.stk.core.graphics.IScreenOverlayCollectionBase#
The common base class for collections of overlays held by screen overlay and by screen overlay manager.
Overview#
Get the number of screen overlays in the collection. |
|
Get a value indicating whether the collection is read-only. |
|
Return an enumerator that iterates through the collection. |
Import detail#
from ansys.stk.core.graphics import IScreenOverlayCollectionBase
Property detail#
- property IScreenOverlayCollectionBase.count: int#
Get the number of screen overlays in the collection.
- property IScreenOverlayCollectionBase.is_read_only: bool#
Get a value indicating whether the collection is read-only.
- property IScreenOverlayCollectionBase._new_enum: EnumeratorProxy#
Return an enumerator that iterates through the collection.
Method detail#
- IScreenOverlayCollectionBase.item(self, index: int) IScreenOverlay #
Get the overlay at the specified index.
- Parameters:
index :
int
- Returns:
IScreenOverlay
- IScreenOverlayCollectionBase.contains(self, item: IScreenOverlay) bool #
Determine whether the collection contains a specific overlay.
- Parameters:
item :
IScreenOverlay
- Returns:
- IScreenOverlayCollectionBase.remove(self, item: IScreenOverlay) bool #
Remove the first occurrence of a specific overlay from the collection.
- Parameters:
item :
IScreenOverlay
- Returns:
- IScreenOverlayCollectionBase.add(self, item: IScreenOverlay) None #
Add an overlay to the collection.
- Parameters:
item :
IScreenOverlay
- Returns: