| MGEdgeAttr Object |
|
The MGEdgeAttr object contains the polygon edge attributes used to draw buffer or redline polygons.
Buffer polygons are used when Autodesk MapGuide executes the view buffer command. To get an instance of the MGEdgeAttr object for use as a buffer, first use the MGMap.getBufferSetup method to get an instance of the MGBufferSetup object. Then use the MGBufferSetup.getEdgeAttr method.
Redline polygons are used as primitive features on redline layers; they can't currently be created through the Autodesk MapGuide user interface, but only through the API. To get an instance of the MGEdgeAttr object for use as a redline feature, first use the MGMap.getRedlineSetup method to get an instance of the MGRedlineSetup object. Then use the MGRedlineSetup.getEdgeAttr method.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGEdgeAttr extends java.lang.Object and can be found in the mapguide package, located in the npmapv32.zip file in the Netscape Plugins folder.
Java Development for Autodesk MapGuide Viewer, Java Edition: For Autodesk MapGuide Viewer, Java Edition, MGEdgeAttr is a Java interface that resides in the com.autodesk.mgjava package, which is located in the mgjava.cab file (for Windows systems only) and the mgjava.jar file (for all platforms).
|
Gets the edge color index used to draw the polygons. |
|
|
Gets the edge style used to draw the polygons. |
|
|
Gets the edge thickness used to draw the polygons. |
|
|
Returns a value indicating whether the edge should be drawn around the polygons. |
|
|
Specifies the edge color index used to draw the polygons. |
|
|
Specifies the edge style used to draw the polygons. |
|
|
Specifies the edge thickness used to draw the polygons. |
|
|
Specifies whether the edge should be drawn around the polygons. |
Note that direct access to properties is only available in Autodesk MapGuide Viewer ActiveX Control. In Autodesk MapGuide Viewer Plug-In and Autodesk MapGuide Viewer, Java Edition APIs, get/set methods provide access to an object's properties. For compatibility, the ActiveX Control API supports the same get/set methods as the Autodesk MapGuide Viewer Plug-In and the Autodesk MapGuide Viewer, Java Edition APIs.
|
Gets or sets the edge color index used to draw the polygons. |
|
|
Gets or sets the edge style used to draw the polygons. |
|
|
Gets or sets the edge thickness used to draw the polygons. |
|
|
Gets or sets whether the edge should be drawn around the polygons. |