C# Class Engine.Objects.Line

Afficher le fichier Open project: Radnen/sphere-sfml

Méthodes publiques

Méthode 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 méthode

public Draw ( ColorInstance color ) : void
color ColorInstance
Résultat void

Intersects() public static méthode

public static Intersects ( Line A, Line B ) : bool
A Line
B Line
Résultat bool

Line() public méthode

public Line ( Line line ) : System
line Line
Résultat System

Line() public méthode

public Line ( Vector2f start, Vector2f end ) : System
start Vector2f
end Vector2f
Résultat System

Line() public méthode

public Line ( short x1, short y1, short x2, short y2 ) : System
x1 short
y1 short
x2 short
y2 short
Résultat System

Offset() public méthode

public Offset ( Vector2f offset ) : Line
offset Vector2f
Résultat Line