GradientStopCollection

GradientStopCollection

Overview

GradientStopCollection là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: IGradientStopCollection, Iterable<IGradientStop>.

Nó đại diện cho một bộ sưu tập các dừng gradient.

Khóa học này cung cấp 14 phương pháp để làm việc với các đối tượng GradientStopCollection trong các chương trình Java. Các phương pháp có sẵn bao gồm: GradientStopCollection, add, asICollection, asIEnumerable, clear, get, insert, iterator, removeAt, size. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java.

Methods

SignatureDescription
GradientStopCollection(gsLst: Element, saveCallback: Runnable)Tạo một GradientStopCollection mới được hỗ trợ bởi các yếu tố {@code <a:gsLst>}.
get(index: int)IGradientStopTrở lại điểm dừng gradient tại chỉ số dựa trên zero cụ thể
size()intTrả lại số lượng các điểm dừng gradient trong bộ sưu tập
add(position: double, color: Color)IGradientStopThêm một dừng gradient mới với vị trí và màu sắc vững chắc, trả về dắt được tạo ra
add(position: double, presetColor: PresetColor)IGradientStop
add(position: double, schemeColor: SchemeColor)IGradientStop
insert(index: int, position: double, color: Color)Nhập một ngừng gradion với vị trí và màu sắc nhất định trên chỉ số được chỉ định
insert(index: int, position: double, presetColor: PresetColor)
insert(index: int, position: double, schemeColor: SchemeColor)
removeAt(index: int)Xóa ngừng gradient tại chỉ số được xác định
clear()Xóa tất cả các cản trở gradient từ bộ sưu tập
asICollection()List<IGradientStop>Trở lại gradient dừng như một danh sách
asIEnumerable()Iterable<IGradientStop>Trở lại gradient dừng như một Iterable
iterator()Iterator<IGradientStop>Trả lại một iterator trên các dừng gradient trong bộ sưu tập này.

See Also

 Tiếng Việt