ImageGear for Java
ImGearARTImage Class Methods

For a list of all members of this type, see ImGearARTImage members.

Public Methods
 NameDescription
Public MethodcloneThis method clones ImGearARTImageEmb class object.  
Public Methodstatic (Shared in Visual Basic)fromLegacyMarkConverts legacy ART2.0 mark into the appropriate ART 3.0 mark. (Inherited from com.accusoft.imagegear.art.ImGearARTMark)
Public MethodgetAlignmentHGets the horizontal alignment of the image.

The default value is ImGearAlignmentHModes.LEFT.

com.accusoft.imagegear.display.ImGearAlignmentHModes enumeration value.

 
Public MethodgetAlignmentVGets the vertical alignment of the image.

The default value is ImGearAlignmentVModes.TOP.

com.accusoft.imagegear.display.ImGearAlignmentVModes enumeration value. com.accusoft.imagegear.display.ImGearAlignmentVModes

 
Public MethodgetAspectRatioGets the aspect ratio of the image.

Any positive double number. The default value is 1.

 
Public MethodgetBoundsGets mark's bounding rectangle in abstract coordinates.

com.accusoft.imagegear.core.shapes.ImGearRectangle structure object.

Type of the mark's coordinate system is specifying when using ImGearARTPage.addMark method.

com.accusoft.imagegear.core.shapes.ImGearRectangle

 
Public MethodgetFileNameGets the file name of the image reference.

String value.

 
Public MethodgetFitModeGets the fitting mode of the image.

com.accusoft.imagegear.display.ImGearFitModes enumeration value.

The default value is ImGearFitModes.FIT_TO_DEVICE.

com.accusoft.imagegear.display.ImGearFitModes

 
Public MethodgetHeightGets the height of the rectangle.

Integer value.

 
Public MethodgetHitTestBoundsGets the mark's boundling rectangle used for hit test.

com.accusoft.imagegear.core.shapes.ImGearRectangle structure object.

This rectangle adds a callout point to the mark's bounding rectangle. Type of the mark's coordinate system is specifying when using ImGearARTPage.addMark method.

com.accusoft.imagegear.core.shapes.ImGearRectangle

(Inherited from com.accusoft.imagegear.art.ImGearARTMark)
Public MethodgetOrientationGets the image orientation.

com.accusoft.imagegear.core.ImGearOrientationModes enumeration value.

The default value is ImGearOrientationModes.TOP_LEFT.

 
Public MethodgetPageGets the com.accusoft.imagegear.core.ImGearPage class object that contains the image.

com.accusoft.imagegear.core.ImGearPage class object.

 
Public MethodgetStatisticsGets an object representing specific statistics information about the mark.

com.accusoft.imagegear.core.shapes.ImGearRectangle structure object.

(Inherited from com.accusoft.imagegear.art.ImGearARTMark)
Public MethodgetTypeGets mark's type.

ImGearARTMarkType enumeration value. ImGearARTMarkType

 
Public MethodgetViewBkColorThe method gets the current background color of the view.  
Public MethodgetWidthGets the width of the image.

Integer value.

 
Public MethodgetXGets the X coordinate of the top-left point of the image.

Integer value.

 
Public MethodgetYGets the Y coordinate of the top-left point of the image.

Integer value.

 
Public MethodisVisibleGets a value indicating whether the mark is visible or not.

Boolean value.

 
Public MethodmoveMoves the mark by specified offset.  
Public MethodsetAlignmentHSets the horizontal alignment of the image.

The default value is ImGearAlignmentHModes.LEFT.

com.accusoft.imagegear.display.ImGearAlignmentHModes enumeration value.

 
Public MethodsetAlignmentVSets the vertical alignment of the image.

The default value is ImGearAlignmentVModes.TOP.

com.accusoft.imagegear.display.ImGearAlignmentVModes enumeration value. com.accusoft.imagegear.display.ImGearAlignmentVModes

 
Public MethodsetAspectRatioSets the aspect ratio of the image.

Any positive double number. The default value is 1.

 
Public MethodsetFileNameSets the file name of the image reference.

String value.

 
Public MethodsetFitModeSets the fitting mode of the image.

com.accusoft.imagegear.display.ImGearFitModes enumeration value.

The default value is ImGearFitModes.FIT_TO_DEVICE.

com.accusoft.imagegear.display.ImGearFitModes

 
Public MethodsetHeightSets the height of the rectangle.

Integer value.

 
Public MethodsetOrientationGets the image orientation.

com.accusoft.imagegear.core.ImGearOrientationModes enumeration value.

The default value is ImGearOrientationModes.TOP_LEFT.

 
Public MethodsetPageSets the com.accusoft.imagegear.core.ImGearPage class object that contains the image.

com.accusoft.imagegear.core.ImGearPage class object.

 
Public MethodsetVisibleSets a value indicating whether the mark is visible or not.

Boolean value.

 
Public MethodsetWidthSets the width of the image.

Integer value.

 
Public MethodsetXSets the X coordinate of the top-left point of the image.

Integer value.

 
Public MethodsetYSets the Y coordinate of the top-left point of the image.

Integer value.

 
Top
See Also

Reference

ImGearARTImage Class
com.accusoft.imagegear.art Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback