Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure 메서드

PageAPI::CreatePathFigure(System::Drawing::PointF, bool) method

새로운 경로 도형을 생성합니다.

System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure(System::Drawing::PointF startPoint, bool isClosed=false)
매개변수형식설명
startPointSystem::Drawing::PointF경로 도형의 첫 번째 세그먼트에 대한 시작점입니다.
isClosedbool경로가 닫혀 있는지 여부를 지정합니다. true로 설정하면 스트로크가 “닫힌” 형태로 그려지며, 즉 경로 도형의 마지막 세그먼트의 마지막 점이 StartPoint 속성에 지정된 점과 연결됩니다. 그렇지 않으면 스트로크가 “열린” 형태로 그려지고 마지막 점이 시작점과 연결되지 않습니다. 이는 스트로크를 지정하는 Path 요소에서 경로 도형이 사용될 때만 적용됩니다.

ReturnValue

새 경로 도형입니다.

또 보기

PageAPI::CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool) method

새로운 경로 도형을 생성합니다.

System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure(System::Drawing::PointF startPoint, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> segments, bool isClosed=false)
매개변수형식설명
startPointSystem::Drawing::PointF경로 도형의 첫 번째 세그먼트에 대한 시작점입니다.
세그먼트System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\XpsModel::XpsPathSegment\\\>\>경로 세그먼트 목록입니다.
isClosedbool경로가 닫혀 있는지 여부를 지정합니다. true로 설정하면 스트로크가 “닫힌” 형태로 그려지며, 즉 경로 도형의 마지막 세그먼트의 마지막 점이 StartPoint 속성에 지정된 점과 연결됩니다. 그렇지 않으면 스트로크가 “열린” 형태로 그려지고 마지막 점이 시작점과 연결되지 않습니다. 이는 스트로크를 지정하는 Path 요소에서 경로 도형이 사용될 때만 적용됩니다.

ReturnValue

새 경로 도형입니다.

또 보기