BaseGpsReceiverWpfExtensionsDrawSatellitesSignalToWpfCanvas(BaseGpsReceiver, Canvas, Int32, Int32, Color) Method |
Draw the signals of satellites in view to WPF canvas.
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
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.28.8737.22596
XMLNS for XAML: Not mapped to an xmlns.
Syntax public static void DrawSatellitesSignalToWpfCanvas(
this BaseGpsReceiver gpsReceiver,
Canvas canvas,
int width,
int height,
Color backColor
)
<ExtensionAttribute>
Public Shared Sub DrawSatellitesSignalToWpfCanvas (
gpsReceiver As BaseGpsReceiver,
canvas As Canvas,
width As Integer,
height As Integer,
backColor As Color
)
Dim gpsReceiver As BaseGpsReceiver
Dim canvas As Canvas
Dim width As Integer
Dim height As Integer
Dim backColor As Color
gpsReceiver.DrawSatellitesSignalToWpfCanvas(canvas,
width, height, backColor)
public:
[ExtensionAttribute]
static void DrawSatellitesSignalToWpfCanvas(
BaseGpsReceiver^ gpsReceiver,
Canvas^ canvas,
int width,
int height,
Color backColor
)
[<ExtensionAttribute>]
static member DrawSatellitesSignalToWpfCanvas :
gpsReceiver : BaseGpsReceiver *
canvas : Canvas *
width : int *
height : int *
backColor : Color -> unit
/** @attribute ExtensionAttribute */
public static void DrawSatellitesSignalToWpfCanvas(
BaseGpsReceiver gpsReceiver,
Canvas canvas,
int width,
int height,
Color backColor
)
public static function DrawSatellitesSignalToWpfCanvas(
gpsReceiver : BaseGpsReceiver,
canvas : Canvas,
width : int,
height : int,
backColor : Color
)
ZylSoft.Gps.BaseGpsReceiverWpfExtensions.DrawSatellitesSignalToWpfCanvas = function(gpsReceiver, canvas, width, height, backColor);
STATIC METHOD DrawSatellitesSignalToWpfCanvas(
SELF gpsReceiver AS BaseGpsReceiver,
canvas AS Canvas,
width AS LONG,
height AS LONG,
backColor AS Color
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- gpsReceiver BaseGpsReceiver
- this
- canvas Canvas
- WPF canvas.
- width Int32
- Width.
- height Int32
- Height.
- backColor Color
- Back color of the view.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
BaseGpsReceiver. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also