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

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

Public Methods

Method Description
FillGeometry ( GeometrySink sink ) : void

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

ToString ( ) : string

返回当前对象的字符串表示形式。

Protected Methods

Method Description
PathSegment ( PathType type, System.Vector2 end ) : System

使用指定的路径段类型和终结点初始化 PathSegment 类的新实例。

Method Details

FillGeometry() public abstract method

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

PathSegment() protected method

使用指定的路径段类型和终结点初始化 PathSegment 类的新实例。
protected PathSegment ( PathType type, System.Vector2 end ) : System
type PathType 路径段的类型。
end System.Vector2 路径的终结点。
return System

ToString() public method

返回当前对象的字符串表示形式。
public ToString ( ) : string
return string