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 属性で指定された点と接続されます。false の場合、ストロークは "開いた" と描画され、最後の点は開始点と接続されません。これは、パス図形がストロークを指定する 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 属性で指定された点と接続されます。false の場合、ストロークは "開いた" と描画され、最後の点は開始点と接続されません。これは、パス図形がストロークを指定する Path 要素で使用されている場合にのみ適用されます。

ReturnValue

新しいパス図形です。

参照