LightRig
Vue de l’ensemble
‘LightRig’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: PVIObject, ISlideComponent et IPresentationComposant.
Il est LightRig.
Cette classe fournit 2 méthodes pour travailler avec les objets LightRig dans les programmes Python. Les méthodologies disponibles comprennent: ‘get_rotation’, ‘set_rotatation’. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Slides FOSS pour le package Pyathon. Propriétés: as_i_presentation_component, direction , light_type et représentation.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
direction | LightingDirection | Read/Write | Light direction. |
light_type | LightRigPresetType | Read/Write | Represents a preset light right that can be applied to a shape. |
as_i_presentation_component | IPresentationComponent | Read | Allows to get base IPresentationComponent interface. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
méthodes
| Signature | Description |
|---|---|
set_rotation(latitude, longitude, revolution) | Sets the rotation value. |
get_rotation() → list[float] | Returns the rotation. |
Voir aussi
- Aspose.Slides - référence API d’entreprise