| MGFillAttr Object |
|
The MGFillAttr object contains the polygon fill 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 MGFillAttr object for use as a buffer, first use the MGMap.getBufferSetup method to get an instance of the MGBufferSetup object. Then use the MGBufferSetup.getFillAttr method.
Redline polygons are used as primitive features on redline layers; they can't currently be created through the Autodesk MapGuide user interface, only through the API. To get an instance of the MGFillAttr 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.getFillAttr method.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGFillAttr 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, MGFillAttr 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 background color index used to draw the polygons. |
|
|
Gets the background mode used to draw the polygons. |
|
|
Gets the fill color index used to draw the polygons. |
|
|
Gets the fill hatch pattern used to draw the polygons. |
|
|
Gets the fill style used to draw the polygons. |
|
|
Specifies the background color index used to draw the polygons. |
|
|
Specifies the background mode used to draw the polygons. |
|
|
Specifies the fill color index used to draw the polygons. |
|
|
Specifies the fill hatch pattern used to draw the polygons. |
|
|
Specifies the fill style used to draw 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 background color index used to draw the polygons. |
|
|
Gets or sets the background mode used to draw the polygons. |
|
|
Gets or sets the fill color index used to draw the polygons. |
|
|
Gets or sets the fill hatch pattern used to draw the polygons. |
|
|
Gets or sets the fill style used to draw the polygons. |