GradientStopCollection

GradientStopCollection

개요

GradientStopCollection은(는) Aspose.Slides C++용 FOSS에 포함된 클래스입니다.

그라디언트 스톱들의 컬렉션을 나타냅니다.

이 클래스는 C++ 프로그램에서 GradientStopCollection 객체를 다루기 위한 30개의 메서드를 제공합니다. 사용 가능한 메서드에는 GradientStop, GradientStopCollection, add, as_i_collection, as_i_enumerable, begin, clear, const_iterator, end, init_internal, insert, iterator 및 추가 4개의 메서드가 포함됩니다. Aspose.Slides C++용 FOSS 패키지를 설치한 후 모든 C++ 애플리케이션에서 모든 public 멤버에 접근할 수 있습니다. 속성: GradientStop, const_iterator, iterator.

속성

이름유형액세스설명
GradientStopGradientStop읽기그라디언트 스톱을 가져옵니다.
iteratoriterator읽기반복자를 가져옵니다.
const_iteratorconst_iterator읽기상수 반복자를 가져옵니다.

메서드

시그니처설명
GradientStop() → GradientStop속성은 컬렉션에서 GradientStop 요소에 대한 접근을 제공합니다.
GradientStop() → GradientStop
GradientStop() → GradientStop
GradientStop() → GradientStop
GradientStop() → GradientStop
iterator() → iterator
iterator() → iterator
const_iterator() → const_iterator속성은 컬렉션에 대한 읽기 전용 순회를 위해 const iterator를 노출합니다.
const_iterator() → const_iterator
GradientStopCollection()
init_internal(gs_lst_element: pugi::xml_node, save_callback: std::function<void()>)XML 기반 그라디언트 스톱 컬렉션을 초기화합니다.
save()save callback을 통해 변경 사항을 저장합니다.
set_color_from_arg(cf: SimpleColorFormat, color: Drawing::Color)Drawing::Color 값으로 SimpleColorFormat의 색상을 설정합니다.
set_color_from_arg(cf: SimpleColorFormat, preset: PresetColor)Drawing::Color 값으로 SimpleColorFormat의 색상을 설정합니다.
set_color_from_arg(cf: SimpleColorFormat, scheme: SchemeColor)Drawing::Color 값으로 SimpleColorFormat의 색을 설정합니다.
size() → std::size_t그라디언트 스톱의 수를 반환합니다.
add(position: float, color: Drawing::Color) → GradientStop주어진 위치와 색상으로 그라디언트 스톱을 추가합니다.
add(position: float, preset: PresetColor) → GradientStop주어진 위치와 색상으로 그라디언트 스톱을 추가합니다.
add(position: float, scheme: SchemeColor) → GradientStop주어진 위치와 색상으로 그라디언트 스톱을 추가합니다.
insert(index: std::size_t, position: float, color: Drawing::Color)주어진 인덱스에 그라디언트 스톱을 삽입합니다.
insert(index: std::size_t, position: float, preset: PresetColor)주어진 인덱스에 그라디언트 스톱을 삽입합니다.
insert(index: std::size_t, position: float, scheme: SchemeColor)주어진 인덱스에 그라디언트 스톱을 삽입합니다.
remove_at(index: std::size_t)주어진 인덱스의 그라디언트 스톱을 제거합니다.
clear()모든 그라디언트 스톱을 제거합니다.
as_i_collection() → std::vector<GradientStop>모든 그라디언트 스톱을 벡터로 반환합니다.
as_i_enumerable() → std::vector<GradientStop>모든 그라디언트 스톱을 벡터로 반환합니다 (as_i_collection와 동일).
begin() → iterator
end() → iterator
begin() → const_iterator
end() → const_iterator

참조

 한국어