LightRig
ภาพรวม
LightRig เป็นคลาสใน Aspose.Slides FOSS สําหรับ Python. ทายาทจาก: PVIObject, ISlideComponent, IPresentationComponent.
ตัวแทน LightRig.
หมวดนี้ให้ 2 วิธีในการทํางานกับวัตถุ LightRig ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: get_rotation, set_rotation. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for 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] | กลับการหมุน. |