ImageGear for Java
ImGearARTMarkStatistics Class Members
Methods 

The following tables list the members exposed by ImGearARTMarkStatistics.

Public Methods
 NameDescription
Public MethodgetAreaGets the area of the mark.

If the mark does not have an area (for example, Line or Protractor mark), this method will return 0.

Double value.

 
Public MethodgetBoundsAreaGets the area of the marks' bounds rectangle.

Double value.

Gets the area of the marks' bounds rectangle.

Double value.

 
Public MethodgetBoundsPerimeterGets the perimeter of the marks' bounds rectangle.

Double value.

 
Public MethodgetLengthGets the total length of the line mark.

If the mark does not have a Length (for example, Ellipse mark), this method will return 0.

Double value.

 
Public MethodgetPerimeterGets the perimeter of the mark.

Double value.

 
Public MethodgetResolutionSets an image resolution.

An image resolution is needed to calculate areas and lengths correctly when measurement unit other than Pixel is used.

com.accusoft.imagegear.core.ImGearResolution structure object.

 
Public MethodgetUnitSets a measurement unit that is used to calculate statistics information.

ImGearARTMeasurementUnit class object.

 
Public MethodsetResolutionGets an image resolution.

An image resolution is needed to calculate areas and lengths correctly when measurement unit other than Pixel is used.

com.accusoft.imagegear.core.ImGearResolution structure object.

 
Public MethodsetUnitGets a measurement unit that is used to calculate statistics information.

ImGearARTMeasurementUnit class object.

 
Top
Protected Methods
 NameDescription
Protected MethodpolygonAreaInternal API.  
Top
See Also

Reference

ImGearARTMarkStatistics Class
com.accusoft.imagegear.art Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback