Click or drag to resize

BaseGpsReceiverDrawSatellites Method

Draws the satellites in view. Red brush satellite - very low signal Orange brush satellite - low signal Yellow brush satellite - medium signal Light green brush satellite - good signal Green brush satellite - very good signal White pen satellite - GPS Orange red pen satellite - GLONASS Yellow pen satellite - BeiDou Blue pen satellite - Galileo Green pen satellite - QZSS Black pen satellite - Unknown

Namespace: ZylSoft.Gps
Assembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.28.8737.22596
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public void DrawSatellites(
	Graphics g,
	int radius,
	Color backColor,
	Color foreColor
)

Parameters

g  Graphics
GDI+ drawing surface.
radius  Int32
Radius of the great circle.
backColor  Color
Back color of the view.
foreColor  Color
Fore color of the view.
Example
Put a PictureBox control on your form. In the Draw event of the PictureBox use the following code: gpsReceiver.DrawSatellites(e.Graphics, Math.Min(pictureBox.Width, pictureBox.Height)/2, Color.Black, Color.White);
See Also