|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineInkGenericDrawTool
Provides access to the ink properties of the ControlsInkGenericDrawTool.
The IEngineInkGenericDrawTool interface controls the properties of the ControlsInkGenericDrawTool.
Method Summary | |
---|---|
int |
getColor()
The color used to render the element created by this tool. |
int |
getTipType()
The pen tip type used to render the element created by this tool. |
int |
getTransparency()
The transparency used to render the element created by this tool. |
int |
getWidth()
The width (in mm) used to render the element created by this tool. |
void |
setColor(int pColor)
The color used to render the element created by this tool. |
void |
setTipType(int pTipType)
The pen tip type used to render the element created by this tool. |
void |
setTransparency(int pTrans)
The transparency used to render the element created by this tool. |
void |
setWidth(int pWidth)
The width (in mm) used to render the element created by this tool. |
Method Detail |
---|
void setColor(int pColor) throws IOException, AutomationException
pColor
- The pColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getColor() throws IOException, AutomationException
The ink Color used by the ControlsInkGenericDrawTool. Internally the Color is stored as a long integer where the value may be calculated for any RGB combination as follows: RGB = (Red) + (Green * 256) + (Blue * 256 * 256). Where Red, Green and Blue are Long Integers within the range 0 - 255.
By default Color is black and corresponds to RGB (0, 0, 0).
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWidth(int pWidth) throws IOException, AutomationException
pWidth
- The pWidth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getWidth() throws IOException, AutomationException
The ink Width used by the ControlsInkGenericDrawTool, specified in HIMETRIC units (1 HIMETRIC = 0.01 mm). By default Width is 10.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTransparency(int pTrans) throws IOException, AutomationException
pTrans
- The pTrans (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTransparency() throws IOException, AutomationException
The Transparency used by the ControlsInkGenericDrawTool. Transparency is the degree to which the Color is opaque. 0 for opaque and 255 for transparent. By default Transparency is 0.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTipType(int pTipType) throws IOException, AutomationException
pTipType
- A com.esri.arcgis.carto.ESRITPCStylusType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTipType() throws IOException, AutomationException
The ink TipType used by the ControlsInkGenericDrawTool. By default TipType is ETPC_Ball.
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 |