|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPictureFillSymbol
Provides access to members that control the picture fill symbol.
Method Summary | |
---|---|
void |
createFillSymbolFromFile(int type,
String fileName)
Create fill symbol from picture file. |
double |
getAngle()
Angle of picture fill. |
IColor |
getBackgroundColor()
Fill background color. |
IColor |
getBitmapTransparencyColor()
Color within bitmap indicating transparency. |
Picture |
getPicture()
Picture used for fill. |
double |
getXScale()
Scale of picture fill along X-axis. |
double |
getYScale()
Scale of picture fill along Y-axis. |
boolean |
isSwapForeGroundBackGroundColor()
Indicates if the foreground and background colors are swapped on 1 Bit Images Only. |
void |
setAngle(double angle)
Angle of picture fill. |
void |
setBackgroundColor(IColor color)
Fill background color. |
void |
setBitmapTransparencyColor(IColor color)
Color within bitmap indicating transparency. |
void |
setPictureByRef(Picture pictureDisp)
Picture used for fill. |
void |
setSwapForeGroundBackGroundColor(boolean swap)
Indicates if the foreground and background colors are swapped on 1 Bit Images Only. |
void |
setXScale(double xScale)
Scale of picture fill along X-axis. |
void |
setYScale(double yScale)
Scale of picture fill along Y-axis. |
Methods inherited from interface com.esri.arcgis.display.IFillSymbol |
---|
getColor, getOutline, setColor, setOutline |
Method Detail |
---|
Picture getPicture() throws IOException, AutomationException
Specifies the bitmap image used for the fill. Use the IPictureDisp interface to specify the image.
Only bitmap images may be specified. Use the CreateFillSymbolFromFile method to access emf files.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPictureByRef(Picture pictureDisp) throws IOException, AutomationException
Specifies the bitmap image used for the fill. Use the IPictureDisp interface to specify the image.
Only bitmap images may be specified. Use the CreateFillSymbolFromFile method to access emf files.
pictureDisp
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
Controls the Background color of the bitmap image or emf file. Any IColor supporting object may be used.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(IColor color) throws IOException, AutomationException
Controls the Background color of the bitmap image or emf file. Any IColor supporting object may be used.
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBitmapTransparencyColor(IColor color) throws IOException, AutomationException
Changes the specified color within the bitmap to be transparent. BitmapTransparencyColor can be specified as any IColor object.
BitmapTransparencyColor is only supported by color bitmap files. Emf files and 1-bit bitmap images are excluded.
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBitmapTransparencyColor() throws IOException, AutomationException
Changes the specified color within the bitmap to be transparent. BitmapTransparencyColor can be specified as any IColor object.
BitmapTransparencyColor is only supported by color bitmap files. Emf files and 1-bit bitmap images are excluded.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngle() throws IOException, AutomationException
The Angle of the bitmap image or emf file within the fill. Valid ranges are -360 to 360. The default Angle is 0.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngle(double angle) throws IOException, AutomationException
The Angle of the bitmap image or emf file within the fill. Valid ranges are -360 to 360. The default Angle is 0.
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getXScale() throws IOException, AutomationException
The XScale (horizontal) value of the bitmap image or emf file. XScale is specified as a percentage of the original file. The default XScale is 1.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setXScale(double xScale) throws IOException, AutomationException
The XScale (horizontal) value of the bitmap image or emf file. XScale is specified as a percentage of the original file. The default XScale is 1.
xScale
- The xScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getYScale() throws IOException, AutomationException
The YScale (vertical) value of the bitmap image or emf file. YScale is specified as a percentage of the original file. The default YScale is 1.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setYScale(double yScale) throws IOException, AutomationException
The YScale (vertical) value of the bitmap image or emf file. YScale is specified as a percentage of the original file. The default YScale is 1.
yScale
- The yScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSwapForeGroundBackGroundColor() throws IOException, AutomationException
Boolean indicator to switch the foreground color with the background color of a 1-bit bitmap image.
SwapForeGroundBackGroundColor is only supported by 1-bit bitmap files. Emf files and color bitmap images are excluded.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSwapForeGroundBackGroundColor(boolean swap) throws IOException, AutomationException
Boolean indicator to switch the foreground color with the background color of a 1-bit bitmap image.
SwapForeGroundBackGroundColor is only supported by 1-bit bitmap files. Emf files and color bitmap images are excluded.
swap
- The swap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void createFillSymbolFromFile(int type, String fileName) throws IOException, AutomationException
Loads the specified bitmap image or emf file. Use the esriPictureType enumerator to specify the type of picture being loaded. Supported types are esriIPictureBitmap (bitmap images) and esriIPictureEMF (emf files).
Bitmap images are limited to a maxiumum of 256 colors and a file size of 512 X 512 pixels.
type
- A com.esri.arcgis.display.esriIPictureType constant (in)fileName
- The fileName (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 |