GraffitiMap.Shapes.Circle

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Parameters Return Type Description

This class exposes no events.

Methods #

Definition Parameters Return Type Description
Constructor center as GraffitiMap.Point None Creates a new instance.
radius as Double

Properties #

Name Type Default Value Description
Center GraffitiMap.Point Nil Location of the shape on the map.
FillColor Color &c000000 Color to fill the shape.
Radius Double 0 The radius of the shape in meters.
StrokePosition GraffitiMap.Shapes.StrokePosition Center Position of the stroke on the shape’s outer edge.

Examples #

Sample Circle #

var circleCenter as new GraffitiMap.Point( 41.878, -87.629 )
var chicago as new GraffitiMap.Shapes.Circle( circleCenter, 50000 ) '// Radius value in meters
chicago.Editable = True
chicago.Draggable = True
chicago.Tooltip = "Chicago<br />Home of Da Bears"
chicago.FillColor = Color.RGB( 255, 0, 255, 100 )
chicago.StrokeColor = Color.RGB( 255, 0, 255, 200 )
chicago.StrokeWeight = 2
me.AddShape( chicago )

Notes #

This class currently has no notes.