MapWindowDevelper:Shape
From MapWindow GIS
MapWindow.Interfaces.Shape
The shape interface contains the properties and methods relating to a single shape in a shapefile.
Property Members
| Name | Access | Summary |
|---|---|---|
| Color : Color | public | Gets or sets the color of this shape. |
| DrawFill : Boolean | public | Gets or sets whether to draw the fill for this shape. Only applies to polygon shapes. |
| FillStipple : tkFillStipple | public | Gets or sets the fill stipple for the shape. Only applies to polygon shapes. The valid values for this property are:
fsCustom, fsDiagonalDownLeft, fsDiagonalDownRight, fsHorizontalBars, fsNone, fsPolkaDot, fsVerticalBars |
| LineOrPointSize : Single | public | Gets or sets the line or point size.
If the PointType is ptUserDefined then the size of the user defined point will be multiplied by the LineOrPointSize. For all other points and for lines, the LineOrPointSize is represented in pixels. |
| LineStipple : tkLineStipple | public | Gets or sets the stipple pattern to use for the shape. The valid values for this property are:
lsCustom, lsDashDotDash, lsDashed, lsDotted, lsNone |
| OutlineColor : Color | public | Gets or sets the outline color for this shape. Only applies to polygon shapes. |
| PointType : tkPointType | public | Gets or sets the point type for this shape. The valid values for this property are:
ptCircle, ptDiamond, ptSquare, ptTriangleDown, ptTriangleLeft, ptTriangleRight, ptTriangleUp, ptUserDefined |
| Visible : Boolean | public | Gets or sets whether this shape is visible or not. |
Method Members
| Name | Access | Summary |
|---|---|---|
| HideVertices() : Void | public | Hides all vertices that have been shown by calling ShowVertices. |
| ShowVertices() : Void | public | Shows all vertices for this line or polygon shape. Vertices can be hidden by calling HideVertices. |
| ZoomTo() : Void | public | Zooms the display so that this shape fills the view. The View.ExtentPad will add a little space around the shape so that is is easy to see the whole shape. |
















