Vertex Constructor (Vector2f, Color)

SFML.Net

Vertex Constructor (Vector2f, Color)
Construct the vertex from its position and color The texture coordinates are (0, 0).

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Vertex(
	Vector2f position,
	Color color
)
Public Sub New ( 
	position As Vector2f,
	color As Color
)
public:
Vertex(
	Vector2f position, 
	Color color
)
new : 
        position : Vector2f * 
        color : Color -> Vertex

Parameters

position
Type: SFML.SystemVector2f
Vertex position
color
Type: SFML.GraphicsColor
Vertex color
See Also