LightRig
LightRig
概述
LightRig 是Python的Aspose.Slides FOSS中的一个类. 继承人: PVIObject, ISlideComponent, IPresentationComponent.
代表 LightRig. 这个字段是:.
这个类提供了在Python程序中使用LightRig 对象的2种方法. 有的方法包括: get_rotation, set_rotation. 在安装Python包的Aspose.Slides FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: as_i_presentation_component, direction, light_type, presentation, slide.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
direction | LightingDirection | 阅读/写作 | 照明方向. |
light_type | LightRigPresetType | 阅读/写作 | 代表一个预设的光线,可以应用于形状. |
as_i_presentation_component | IPresentationComponent | 阅读 | 允许获得基本的 IPresentationComponent 接口. |
slide | IBaseSlide | 阅读 | 获取幻灯片。. |
presentation | IPresentation | 阅读 | 获取表示。. |
方法
| Signature | 描述情况 |
|---|---|
set_rotation(latitude, longitude, revolution) | 设置旋转值。. |
get_rotation() → list[float] | 返回旋转. |