OpenLayer
|
Shape
|
Point
Point
A single point
Point
(
float
x,
float
y )
Creates a new point with the specified position.
Point
(
Vec2D
pos )
Same as above but by using a position vector.
Examples
// Render a blue point at x = 200.0, y = 100.0 //
Point
(
200.0
,
100.0
).
Draw
(
Rgba
::BLUE );
Member functions
Draw
Draws the point with the specified color
StartFastDrawing
Call this function before using FastPoint
DrawFast
A faster version of Draw
FinishFastDrawing
Should be called after using DrawFast
Parent Class
Shape
Back to the main page of the manual
Questions about Point? Click
here.