Aspose::Page::XPS::XpsDocument::CreateArcSegment 方法

XpsDocument::CreateArcSegment method

创建一个新的椭圆弧段。

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)
ParameterType描述
System::Drawing::PointF椭圆弧的终点。
sizeSystem::Drawing::SizeF椭圆弧的 x 和 y 半径,以 x,y 对的形式表示。
rotationAngle单精度浮点数指示椭圆相对于当前坐标系的旋转方式。
isLargeArcbool确定该弧段是否以 180 度或更大的扫掠角度绘制。
sweepDirectionXpsModel::XpsSweepDirection绘制弧段的方向。
isStrokedbool指定是否为路径的此段绘制描边。

ReturnValue

新的椭圆弧段。

另见