C# Class Cyjb.Projects.JigsawGame.Shape.ArcSegment

Inheritance: PathSegment
Mostra file Open project: CYJB/Cyjb.Projects.JigsawGame

Public Methods

Method Description
ArcSegment ( System.Vector2 end, Size2F size, float rotationAngel, SweepDirection sweepDirection, ArcSize arcSize ) : System

使用指定的设置初始化 ArcSegment 类的新实例。

FillGeometry ( GeometrySink sink ) : void

使用当前的路径填充指定的路径几何。

Method Details

ArcSegment() public method

使用指定的设置初始化 ArcSegment 类的新实例。
public ArcSegment ( System.Vector2 end, Size2F size, float rotationAngel, SweepDirection sweepDirection, ArcSize arcSize ) : System
end System.Vector2 弧线路径段的终结点。
size Size2F 弧线路径段的尺寸。
rotationAngel float 弧线路径段的旋转角度。
sweepDirection SweepDirection 弧线路径段的绘制方向。
arcSize ArcSize 弧线路径段是否大于 180 度。
return System

FillGeometry() public method

使用当前的路径填充指定的路径几何。
public FillGeometry ( GeometrySink sink ) : void
sink GeometrySink 要填充的路径几何。
return void