GradientStopCollection
Overview
GradientStopCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: IGradientStopCollection, Iterable<IGradientStop>.
แสดงให้เห็นถึงการหยุด gradient collection.
หมวดนี้ให้ 14 วิธีในการทํางานกับวัตถุ GradientStopCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: GradientStopCollection, add, asICollection, asIEnumerable, clear, get, insert, iterator, removeAt, size. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java.
Methods
| Signature | Description |
|---|---|
GradientStopCollection(gsLst: Element, saveCallback: Runnable) | สร้าง GradientStopCollection ใหม่ที่รองรับโดยองค์ประกอบ {@code <a:gsLst>} ที่ได้รับการแสดง. |
get(index: int) → IGradientStop | การคืนการหยุด gradient ที่อัตราฐานศูนย์ที่กําหนด |
size() → int | การคืนจํานวนการหยุด gradient ในคอลเลกชั่น |
add(position: double, color: Color) → IGradientStop | เพิ่มการหยุด gradient ใหม่กับตําแหน่งที่ให้และสีแข็ง, การคืน stop ที่สร้างขึ้น |
add(position: double, presetColor: PresetColor) → IGradientStop | |
add(position: double, schemeColor: SchemeColor) → IGradientStop | |
insert(index: int, position: double, color: Color) | การใส่การหยุด gradient กับตําแหน่งและสีที่ให้ไว้ในอัตราส่องที่กําหนด |
insert(index: int, position: double, presetColor: PresetColor) | |
insert(index: int, position: double, schemeColor: SchemeColor) | |
removeAt(index: int) | ลบการหยุด gradient ที่อัตราสัดส่วนที่ระบุ |
clear() | ลบการหยุด gradient ทั้งหมดจากสะสม |
asICollection() → List<IGradientStop> | การคืนการหยุด gradient เป็นรายชื่อ |
asIEnumerable() → Iterable<IGradientStop> | การคืน gradient stops เป็น Iterable |
iterator() → Iterator<IGradientStop> | กลับตัวอิเทอร์เหนือการหยุด gradient ในคอลเลกชั่นนี้. |