|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBackground
Provides access to members that control frame backgrounds.
The SymbolBackground object is used to draw the background of frame elements.
IBackground is used to manage backgrounds properties such as the Gap between the background and the frame. The Name property defines the name of the Symbolbackground as listed in the background selector. GetGeometry will return the geometry of the border. The QueryBounds and Draw methods are equivalent to the similar methods of IElement.
See ISymbolBackground for additional control of the background.
See also IFrameDecoration.
Method Summary | |
---|---|
void |
draw(IDisplay display,
IGeometry geometry)
Draws the background into the given display object. |
double |
getGap()
Gap between the frame background and the subject in points. |
IGeometry |
getGeometry(IDisplay display,
IGeometry shape)
Geometry used to draw the frame background. |
String |
getName()
Name of the frame background. |
void |
queryBounds(IDisplay display,
IGeometry geometry,
IEnvelope bounds)
Bounding rectangle of the geometry including area covered by the border. |
void |
setGap(double gap)
Gap between the frame background and the subject in points. |
void |
setName(String name)
Name of the frame background. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getGap() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGap(double gap) throws IOException, AutomationException
gap
- The gap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryBounds(IDisplay display, IGeometry geometry, IEnvelope bounds) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometry getGeometry(IDisplay display, IGeometry shape) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(IDisplay display, IGeometry geometry) throws IOException, AutomationException
display
- A reference to a com.esri.arcgis.display.IDisplay (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |