Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
Definition |
Parameters |
Return Type |
Description |
This class exposes no events.
Methods #
Definition |
Parameters |
Return Type |
Description |
Constructor |
bounds as GraffitiMap.Bounds |
None |
Creates a new instance. |
Properties #
Name |
Type |
Default Value |
Description |
Bounds |
GraffitiMap.Bounds |
Nil |
Area covered by the shape. |
FillColor |
Color |
&c000000 |
Inner color of the shape. |
StrokePosition |
GraffitiMap.Shapes.StrokePositions |
Center |
Position of the stroke along the outer edge of the shape. |
Examples #
Sample Rectangle #
var rectNE as new GraffitiMap.Point( 36.120961, -82.141759 )
var rectSW as new GraffitiMap.Point( 36.520961, -82.541759 )
var rectBounds as new GraffitiMap.Bounds( rectNE, rectSW )
var johnsonCityArea as new GraffitiMap.Shapes.Rectangle( rectBounds )
johnsonCityArea.Tooltip = "Mountains and GraffitiSuite and stuff."
johnsonCityArea.FillColor = color.RGB( 0, 0, 255, 100 )
johnsonCityArea.StrokeColor = color.RGB( 0, 0, 255, 200 )
johnsonCityArea.StrokeWeight = 4
johnsonCityArea.StrokePosition = GraffitiMap.Shapes.StrokePositions.Inside
johnsonCityArea.Editable = True
johnsonCityArea.Draggable = True
me.AddShape( johnsonCityArea )
Notes #
This class currently has no notes.