ImageGear for Java
ImGearARTProtractor Class Members
Methods 

The following tables list the members exposed by ImGearARTProtractor.

Public Constructors
 NameDescription
Public ConstructorImGearARTProtractor ConstructorOverloaded.   
Top
Public Methods
 NameDescription
Public MethodcloneCreates new object that is an exact copy of the current mark. (Inherited from com.accusoft.imagegear.art.ImGearARTMark)
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 MethodgetArcRadiusGets the radius of the arc drawn in the mark.

Integer value.

The radius is measured in pixels. The default value is 0.

 
Public MethodgetAspectDenominatorXGets the mark's X aspect denominator value.

Integer value.

The default value is 1.

 
Public MethodgetAspectDenominatorYGets the Mark's Y aspect denominator value.

Integer value.

The default value is 1.

 
Public MethodgetAspectNumeratorXGets the mark's X aspect numerator value.

Integer value.

The default value is 1.

 
Public MethodgetAspectNumeratorYGets the mark's Y aspect numerator value.

Integer value.

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 MethodgetColorGets the mark color.

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

 
Public MethodgetEndPointGets the end point of the protractor.

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

 
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 text font.

String value.

 
Public MethodgetFontSizeGets the font pointSize of the text font.

Any positive float value.

 
Public MethodgetFontStyleARTGets the font style of the text font.

Aggregates of ImGearARTFontStyles enumeration value.

 
Public MethodgetHeadPointGets the head point of the protractor.

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

 
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 MethodgetOpacityGets the opacity of the mark.

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

The default value is 255.

 
Public MethodgetPrecisionGets the number of decimal digits displayed for the mark.

Integer value.

The default value is 1.

 
Public MethodgetStartPointGets the start point of the protractor.

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

 
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 MethodgetStyleGets the style of the mark's line.

ImGearARTPenStyle enumeration value.

 
Public MethodgetTypeGets mark's type.

ImGearARTMarkType enumeration value.

 
Public MethodgetWidthGets the width of the mark's line.

Integer value.

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

Boolean value.

 
Public MethodmoveMoves the mark by specified offset.  
Public MethodsetArcRadiusSets the radius of the arc drawn in the mark.

Integer value.

The radius is measured in pixels. The default value is 0.

 
Public MethodsetAspectDenominatorXSets the mark's X aspect denominator value.

Integer value.

The default value is 1.

 
Public MethodsetAspectDenominatorYSets the Mark's Y aspect denominator value.

Integer value.

The default value is 1.

 
Public MethodsetAspectNumeratorXSets the mark's X aspect numerator value.

Integer value.

The default value is 1.

 
Public MethodsetAspectNumeratorYSets the mark's Y aspect numerator value.

Integer value.

The default value is 1.

 
Public MethodsetColorSets the mark color.

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

 
Public MethodsetEndPointSets the end point of the protractor.

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

 
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 text font.

String value.

 
Public MethodsetFontSizeSets the font pointSize of the text font.

Any positive float value.

 
Public MethodsetFontStyleARTSets the font style of the text font.

Aggregates of ImGearARTFontStyles enumeration value.

 
Public MethodsetHeadPointSets the head point of the protractor.

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

 
Public MethodsetOpacitySets the opacity of the mark.

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

The default value is 255.

 
Public MethodsetPrecisionSets the number of decimal digits displayed for the mark.

Integer value.

The default value is 1.

 
Public MethodsetStartPointSets the start point of the protractor.

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

 
Public MethodsetStyleSets the style of the mark's line.

ImGearARTPenStyle enumeration value.

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

Boolean value.

 
Public MethodsetWidthSets the width of the mark's line.

Integer value.

 
Top
See Also

Reference

ImGearARTProtractor Class
com.accusoft.imagegear.art Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback