Aspose::Page::XPS::XpsDocument::CreateArcSegment method

XpsDocument::CreateArcSegment method

Creates a new elliptical arc segment.

System::SharedPtr<XpsModel::XpsArcSegment> Aspose::Page::XPS::XpsDocument::CreateArcSegment(System::Drawing::PointF point, System::Drawing::SizeF size, float rotationAngle, bool isLargeArc, XpsModel::XpsSweepDirection sweepDirection, bool isStroked=true)
ParameterTypeDescription
pointSystem::Drawing::PointFThe endpoint of the elliptical arc.
sizeSystem::Drawing::SizeFThe x and y radius of the elliptical arc as an x,y pair.
rotationAnglefloatIndicates how the ellipse is rotated relative to the current coordinate system.
isLargeArcboolDetermines whether the arc is drawn with a sweep of 180 or greater.
sweepDirectionXpsModel::XpsSweepDirectionThe direction in which the arc is drawn.
isStrokedboolSpecifies whether the stroke for this segment of the path is drawn.

ReturnValue

New elliptical arc segment.

See Also