ImageGear for Java
ImGearARTText Class Members
Methods 

The following tables list the members exposed by ImGearARTText.

Public Constructors
 NameDescription
Public ConstructorImGearARTText ConstructorOverloaded.   
Top
Public Methods
 NameDescription
Public MethodbeginEditBegins the text editing process.  
Public MethodcloneCreates new object that is an exact copy of the current mark. (Inherited from com.accusoft.imagegear.art.ImGearARTMark)
Public MethodendEditEnds the text editing process.  
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 MethodgetActualTextGets the actual text you can see on display.

String value.

This method behaves exactly as the ImGearARTTextFromFile.getText.

ImGearARTTextFromFile.getText

 
Public MethodgetAlignmentHGets the horizontal text alignment.

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

The default value is ImGearAlignmentHModes.LEFT.

 
Public MethodgetAlignmentVGets the vertical text alignment.

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

The default value is ImGearAlignmentVModes.TOP.

 
Public MethodgetBorderGets the mark border.

ImGearARTBorder class object.

 
Public MethodgetBorderShadingSets a value indicating whether the border is shaded or not.

Boolean value.

 
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 MethodgetCalloutGets a value of the ImGearARTCallout class object that specifies mark's callout attributes.

ImGearARTCallout class object. ImGearARTCallout

 
Public MethodgetFillColorGets the fill color of the mark.

com.accusoft.imagegear.core.ImGearRGBQuad structure object interface.

 
Public MethodgetFontDisablePPMGets a value indicating whether the PPM option is disabled in font pointSize calculations.

Boolean value.

True - disables PPM and display parameters in font pointSize calculations for the current mark, False - enables font pointSize calculations. The default value is false.

 
Public MethodgetFontNameGets the font name of the mark text.

String name.

 
Public MethodgetFontSizeGets the font pointSize of the mark text.

Any positive float value.

The font pointSize is measured in points.

 
Public MethodgetFontStyleARTGets the font style of the mark text.

Aggregates of ImGearARTFontStyles enumeration value.

 
Public MethodgetHeightGets the height of the mark's 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

 
Public MethodgetOpacityGets the opacity of the mark.

Integer value from 0 (transparent) to 255 (opaque).

This Opacity is used for all elements of the mark by default. If you need to set a differ opacity value for text element, please use ImGearARTTextFromFile method. The default value is 255.

 
Public MethodgetOrientationGets the text orientation.

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

The default value is ImGearOrientationModes.TOP_LEFT.

 
Public MethodgetPinGets the ImGearARTPin object that specifies mark's pin icon attributes.

ImGearARTPin class object. ImGearARTPin

 
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 MethodgetTextGets the text of the mark.

Text string.ImGearARTTextFromFile

 
Public MethodgetTextColorGets the color of the mark text.

com.accusoft.imagegear.core.ImGearRGBQuad structure object interface.

 
Public MethodgetTextOpacityGets a separate opacity used for text string.

Integer value from 0 (transparent) to 255 (opaque).

When set to non-negative value, specifies separate opacity used for text string only, otherwise text is displayed with the method provided by the ImGearARTTextFromFile method used to set the opacity for the entire mark. The default value is 255.

 
Public MethodgetTextTrimmingGets the text trimming behavior to employ when content overflows the content area.

ImGearARTTextTrimming enumeration value.

 
Public MethodgetTextTypeGets the text type.

ImGearARTTextType enumeration value.

The default value is ImGearARTTextType.DIRECT_TEXT.

ImGearARTTextType

 
Public MethodgetTypeGets mark's type.

ImGearARTMarkType enumeration value. ImGearARTMarkType

 
Public MethodgetWidthGets the width of the mark's rectangle.

Integer value.

 
Public MethodgetXGets the X coordinate of the top-left point of the mark's rectangle.

Integer value.

 
Public MethodgetYGets the Y coordinate of the top-left point of the mark's rectangle.

Integer value.

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

Boolean value.

 
Public MethodmoveMoves mark by specified offset.  
Public MethodsetActualTextSets the actual text you can see on display.

String value.

This method behaves exactly as the ImGearARTTextFromFile.getText.

ImGearARTTextFromFile.getText

 
Public MethodsetAlignmentHSets the horizontal text alignment.

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

The default value is ImGearAlignmentHModes.LEFT.

 
Public MethodsetAlignmentVSets the vertical text alignment.

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

The default value is ImGearAlignmentVModes.TOP.

 
Public MethodsetBorderSets the mark border.

ImGearARTBorder class object.

 
Public MethodsetBorderShadingSets a value indicating whether the border is shaded or not.

Boolean value.

 
Public MethodsetCalloutSets a value of the ImGearARTCallout class object that specifies mark's callout attributes.

ImGearARTCallout class object. ImGearARTCallout

 
Public MethodsetFillColorSets the fill color of the mark.

com.accusoft.imagegear.core.ImGearRGBQuad structure object interface.

 
Public MethodsetFontDisablePPMSets a value indicating whether the PPM option is disabled in font pointSize calculations.

Boolean value.

True - disables PPM and display parameters in font pointSize calculations for the current mark, False - enables font pointSize calculations. The default value is false.

 
Public MethodsetFontNameSets the font name of the mark text.

String name.

 
Public MethodsetFontSizeSets the font pointSize of the mark text.

Any positive float value.

The font pointSize is measured in points.

 
Public MethodsetFontStyleARTSets the font style of the mark text.

Aggregates of ImGearARTFontStyles enumeration value.

 
Public MethodsetHeightSets the height of the mark's rectangle.

Integer value.

 
Public MethodsetOpacitySets the opacity of the mark.

Integer value from 0 (transparent) to 255 (opaque).

This Opacity method is used for all elements of the mark by default. If you need to set a differ opacity value for text element, please use ImGearARTTextFromFile method. The default value is 255.

 
Public MethodsetOrientationSets the text orientation.

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

The default value is ImGearOrientationModes.TOP_LEFT.

 
Public MethodsetPinSets the ImGearARTPin object that specifies mark's pin icon attributes.

ImGearARTPin class object. ImGearARTPin

 
Public MethodsetTextSets the text of the mark.

Text string.getActualText

 
Public MethodsetTextColorSets the color of the mark text.

com.accusoft.imagegear.core.ImGearRGBQuad structure object interface.

 
Public MethodsetTextOpacitySets a separate opacity used for text string.

Integer value from 0 (transparent) to 255 (opaque).

When set to non-negative value, specifies separate opacity used for text string only, otherwise text is displayed with the opacity provided by the ImGearARTTextFromFile method used to set the opacity for the entire mark. The default value is 255.

 
Public MethodsetTextTrimmingSets the text trimming behavior to employ when content overflows the content area.

ImGearARTTextTrimming enumeration value.

 
Public MethodsetTextTypeSets the text type.

ImGearARTTextType enumeration value.

The default value is ImGearARTTextType.DIRECT_TEXT.

ImGearARTTextType

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

Boolean value.

 
Public MethodsetWidthSets the width of the mark's rectangle.

Integer value.

 
Public MethodsetXSets the X coordinate of the top-left point of the mark's rectangle.

Integer value.

 
Public MethodsetYSets the Y coordinate of the top-left point of the mark's rectangle.

Integer value.

 
Top
See Also

Reference

ImGearARTText Class
com.accusoft.imagegear.art Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback