Field-Map Scripting

4.4.6.10 DrawCircle

DrawCircle procedure


Prototype:

procedure DrawCircle ( const CenterX_m, CenterY_m, Radius_m : double;

                      const LineStyle, LineWidth : integer;

                      const LineColor : string;

                      const FillStyle : integer;

                      const FillColor : string);


Description:

DrawCircle procedure draws and shows circle shaped polygon in FieldMap Data collector map window.

Syntax:

Project.DrawCircle (CenterX, CenterY, Radius, LineStyle, LineWidth, LineColor, FillStyle, FillColor);


Part

Description


Project

A reference to the Field-Map project as defined in Field-Map Project Manager


CenterX

CenterY

Coordinates defining the position of center of circle


Radius

Radius of circle in m


LineStyle

Definition of style (shape of symbol) used for line visualisation


LineWidth

Width of line in px


LineColor

String expression defining the color of line


FillStyle

Fill style of polygon


FillColor

Color used to fill the polygon





Return value:


none



See also:

GetPolygonIntersectArea_m2; OverlayPolygonLayers; TransferAttributeValuesFromPolygonsToPointsOrCentroids; GetPoint; GetCentroids; DrawText; DrawPoint; DrawLine; DrawPolygon; DrawCircle; DrawRectangle; FlashPolygon; FlashLine; FlashPoint; SelectedPointCount; SelectedPointID; SelectedLineCount; SelectedLineID; GetCurrentPosition; SetCurrentPosition; SetBasicExtent; GetMapExtent; GetMapFullExtent; GetBasicExtent; ZoomToPolygon; ZoomToLine; MapExtentAsVariant; AddReferencePoint; InvertColors; FindTargetHeight; SetCircularPlotBoundary; TrimLineByPlotBoundary; RefreshMap; RefreshMapRectangle; RefreshTrackingLayer; RefreshTrackingLayerRectangle; ScreenMilimeters2MapDistance_m; MapToScreen; SaveShapesToBlobs; SaveShapesOfCurrentPlotToBlobs; SaveShapesOfAllPlotsToBlobs; ProjectionToWGS84; WGS84ToProjection