|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IShadow
Provides access to members that control frame drop shadows.
The SymbolShadow object is used to draw drop shadows around frame elements.
IShadow is used to manage drop shadows properties such as HorizontalSpacing and VerticalSpacing determining the distance between the shadow and the frame. The Name property defines the name of the SymbolShadow as listed in the shadow selector. GetGeometry will return the geometry of the drop shadow. The QueryBounds and Draw methods are equivalent to the similar methods of IElement.
See ISymbolShadow for additional control of the drop shadow.
See also IFrameDecoration.
Method Summary | |
---|---|
void |
draw(IDisplay display,
IGeometry geometry)
Draws the drop shadow into the given display object. |
IGeometry |
getGeometry(IDisplay display,
IGeometry shape)
Geometry used to draw the drop shadow. |
double |
getHorizontalSpacing()
Horizontal offset between the drop shadow and the subject in points. |
String |
getName()
Name of the drop shadow. |
double |
getVerticalSpacing()
Vertical offset between the drop shadow and the subject in points. |
void |
queryBounds(IDisplay display,
IGeometry geometry,
IEnvelope bounds)
Bounding rectangle of the geometry including the area covered by the border. |
void |
setHorizontalSpacing(double points)
Horizontal offset between the drop shadow and the subject in points. |
void |
setName(String name)
Name of the drop shadow. |
void |
setVerticalSpacing(double points)
Vertical offset between the drop shadow and the subject in points. |
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 getHorizontalSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHorizontalSpacing(double points) throws IOException, AutomationException
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getVerticalSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVerticalSpacing(double points) throws IOException, AutomationException
points
- The points (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 |