C# Class Engine.Objects.Line

ファイルを表示 Open project: Radnen/sphere-sfml

Public Methods

Method Description
Draw ( ColorInstance color ) : void
Intersects ( Line A, Line B ) : bool
Line ( Line line ) : System
Line ( Vector2f start, Vector2f end ) : System
Line ( short x1, short y1, short x2, short y2 ) : System
Offset ( Vector2f offset ) : Line

Method Details

Draw() public method

public Draw ( ColorInstance color ) : void
color ColorInstance
return void

Intersects() public static method

public static Intersects ( Line A, Line B ) : bool
A Line
B Line
return bool

Line() public method

public Line ( Line line ) : System
line Line
return System

Line() public method

public Line ( Vector2f start, Vector2f end ) : System
start Vector2f
end Vector2f
return System

Line() public method

public Line ( short x1, short y1, short x2, short y2 ) : System
x1 short
y1 short
x2 short
y2 short
return System

Offset() public method

public Offset ( Vector2f offset ) : Line
offset Vector2f
return Line