Shape
개요
Shape C++의 Aspose.Slides FOSS에서 클래스입니다.
슬라이드에서 모든 모양을 위한 기본 클래스입니다.
이 클래스는 C++ 프로그램에서 Shape 객체와 작업하는 84가지 방법을 제공합니다. 이용 가능한 방법에는 다음이 포함됩니다.: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent, LineFormat, ShapeFrame, ShapeType, ThreeDFormat, alternative_text, alternative_text_title, 57개의 추가적인 방법. 모든 퍼블릭 멤버들은 C++ 패키지 Aspose.Slides FOSS를 설치한 후 어떤 C ++ 애플리케이션에도 액세스할 수 있습니다. 성질: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent,그리고 4개 더.
속성
| 이름 | 유형 | Access | 설명 |
|---|---|---|---|
ShapeType | ShapeType | 읽으세요. | 모양이 맞습니다. |
EffectFormat | EffectFormat | 읽으세요. | 효과 형식을 얻습니다. |
FillFormat | FillFormat | 읽으세요. | 포맷을 채우죠. |
LineFormat | LineFormat | 읽으세요. | 선 형식을 얻습니다. |
ThreeDFormat | ThreeDFormat | 읽으세요. | 3D 형식을 얻습니다. |
ShapeFrame | ShapeFrame | 읽으세요. | 틀 모양을 잡았어요. |
ISlideComponent | ISlideComponent | 읽으세요. | i 슬라이드 컴포넌트를 얻습니다. |
IPresentation | IPresentation | 읽으세요. | i 프레젠테이션을 얻습니다. |
IBaseSlide | IBaseSlide | 읽으세요. | i 기본 슬라이드를 얻습니다. |
IPresentationComponent | IPresentationComponent | 읽으세요. | i 프레젠테이션 컴포넌트를 얻습니다. |
메서드
| Signature | 설명 |
|---|---|
ShapeType() → ShapeType | 속성은 모양의 유형을 얻거나 설정합니다. |
EffectFormat() → EffectFormat | 속성은 모양의 효과 형식화에 접근을 제공합니다. |
EffectFormat() → EffectFormat | |
FillFormat() → FillFormat | 모양의 메입 형식화 객체를 반환합니다. |
FillFormat() → FillFormat | |
LineFormat() → LineFormat | 속성은 모양의 라인 포맷에 접근을 제공합니다. |
LineFormat() → LineFormat | |
ThreeDFormat() → ThreeDFormat | 속성은 3D 형식화 접근을 제공합니다. |
ThreeDFormat() → ThreeDFormat | |
ShapeFrame() → ShapeFrame | 속성은 모양의 프레임 데이터에 접근을 제공합니다. |
ShapeFrame() → ShapeFrame | |
ISlideComponent() → ISlideComponent | 모양에 의해 구현된 슬라이드 구성 요소 인터페이스를 반환합니다. |
IPresentation() → IPresentation | 형태를 포함하는 프레젠테이션 인터페이스에 대한 특성을 참조합니다. |
IPresentation() → IPresentation | |
IBaseSlide() → IBaseSlide | 속성은 모양을 가진 기본 슬라이드 인터페이스를 참조합니다. |
IBaseSlide() → IBaseSlide | |
IPresentationComponent() → IPresentationComponent | 모양의 프레젠테이션 구성 요소 인터페이스를 반환합니다. |
IPresentationComponent() → IPresentationComponent | |
~Shape() | |
shape_type() → ShapeType | 모양 유형을 반환합니다. |
set_shape_type(value: ShapeType) | 형태 유형을 설정합니다. |
x() → double | x 좌표를 반환합니다. |
set_x(value: double) | 모양의 X 좌표를 설정합니다. |
y() → double | y 좌표를 반환합니다. |
set_y(value: double) | 모양의 Y 좌표를 설정합니다. |
width() → double | 그 모양의 너비를 반환합니다. |
set_width(value: double) | |
height() → double | 그 모양의 높이를 반환합니다. |
set_height(value: double) | |
rotation() → double | 회전각을 도로 표시합니다. |
set_rotation(value: double) | 모양의 회전 각을 설정합니다. |
name() → std::string | 형태 이름을 반환합니다. |
set_name(value: std::string) | |
effect_format() → EffectFormat | 이 모양의 효과 형식을 반환합니다. |
effect_format() → EffectFormat | 이 모양의 효과 형식을 반환합니다. |
fill_format() → FillFormat | 이 모양의 메입 형식을 반환합니다. |
fill_format() → FillFormat | 이 모양의 메입 형식을 반환합니다. |
line_format() → LineFormat | 이 모양의 줄 형식을 반환합니다. |
line_format() → LineFormat | 이 모양의 줄 형식을 반환합니다. |
three_d_format() → ThreeDFormat | 이 모양의 3D 형식을 반환합니다. |
three_d_format() → ThreeDFormat | 이 모양의 3D 형식을 반환합니다. |
is_text_holder() → bool | 모양이 TextHolder인지 여부를 결정합니다. 기본값: false. |
placeholder() | 위치지표를 반환합니다. 기본값은 nullptr입니다. |
custom_data() | 사용자 정의 데이터를 반환합니다. 기본값은 nullptr입니다. |
raw_frame() → ShapeFrame | 원형 프레임을 반환합니다. |
set_raw_frame(value: ShapeFrame) | |
frame() → ShapeFrame | 모양의 프레임을 반환합니다. |
set_frame(value: ShapeFrame) | |
hidden() → bool | 모양이 숨겨져 있는지 결정합니다. |
set_hidden(value: bool) | |
z_order_position() → std::int32_t | z-order 위치를 반환합니다. |
connection_site_count() → std::int32_t | 연결 사이트의 수 (기본 4) 를 반환합니다. |
alternative_text() → std::string | 대체 텍스트를 반환합니다. |
set_alternative_text(value: std::string) | |
alternative_text_title() → std::string | 대체 텍스트 제목을 반환합니다. |
set_alternative_text_title(value: std::string) | |
is_decorative() → bool | ‘상품으로 표시’ 옵션이 있습니다. |
set_is_decorative(value: bool) | |
unique_id() → std::uint32_t | 프레젠테이션 범위 고유 식별자를 반환합니다. |
office_interop_shape_id() → std::uint32_t | 슬라이드 스코프 모양 식별자를 반환합니다. |
is_grouped() → bool | 모양이 그룹화되었는지 결정합니다. |
as_i_slide_component() → ISlideComponent | 기본 ISlideComponent 인터페이스를 반환합니다. |
presentation() → IPresentation | |
presentation() → IPresentation | |
slide() → IBaseSlide | |
slide() → IBaseSlide | |
as_i_presentation_component() → IPresentationComponent | |
as_i_presentation_component() → IPresentationComponent | |
set_z_order_position(value: std::int32_t) | z-order 위치를 설정합니다. (ShapeCollection에서 내부적으로 사용됩니다.). |
set_unique_id(value: std::uint32_t) | 고유 ID를 설정합니다 (내용으로 사용됩니다). |
set_office_interop_shape_id(value: std::uint32_t) | 사무실 인터페이스 모양 id (내용) 을 설정합니다. |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | 이 모양을 슬라이드 부분의 XML 요소에서 초기화합니다. |
build_frame() → ShapeFrame | ShapeFrame을 현재 xfrm 요소에서 만들어보세요. |
apply_frame(value: IShapeFrame) | xfrm 요소에 ShapeFrame의 값을 적용합니다. |
get_sp_pr() → pugi::xml_node | 이 모양의 spPr (또는 grpSpPr) 요소를 얻습니다. |
ensure_sp_pr() → pugi::xml_node | spPr 요소를 얻거나 생성합니다. |
get_c_nv_pr() → pugi::xml_node | cNvPr 요소를 XML 모양에서 얻습니다. |
find_xfrm_in_element(xml_element: pugi::xml_node) → pugi::xml_node | a:xfrm 요소를 직접 모양 XML 요소 내에서 찾아보세요. |
get_placeholder_info() → std::optional<std::pair<std::optional<std::string>, std::string>> | |
find_placeholder_xfrm_in_xml(root: pugi::xml_node, ph_type: std::optional<std::string>, ph_idx: std::string_view) → pugi::xml_node | xfrm를 매칭하는 위치 홀더에 대한 레이아웃/마스터 XML 루트에서 찾아보세요. |
xml_element() → pugi::xml_node | 이 모양을 지원하는 XML 요소를 반환합니다. |
get_inherited_xfrm() → pugi::xml_node | 레이아웃 -> 마스터 체인을 통해 셰어홀더를 위한 상속 xfrm을 찾습니다. |
get_xfrm() → pugi::xml_node | a:xfrm 요소를 포맷 XML에서, 위치호더 상속으로 얻습니다. |
ensure_xfrm() → pugi::xml_node | a:xfrm 요소를 얻거나 생성합니다. |