MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWindowDevelper:Shape

From MapWindow GIS

Jump to: navigation, search

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.
Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWindowDevelper:Shape"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: September 04 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links