GraffitiSuite Docs
Docs
Circle
Loading document parsing libraries...
# Circle Class Inherits Shape ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | center as GraffitiMap.Point <br> radius as Double | (None) | Creates a new instance of the class. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mCenter | GraffitiMap.Point | (None) | | Attributes | mRadius | Double | (None) | | Center | GraffitiMap.Point | (None) | (None) | | FillColor | Color | (None) | (None) | | Radius | Double | (None) | (None) | | StrokePosition | GraffitiMap.Shapes.StrokePositions | (None) | (None) | ## 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 ) ```