Package com.esri.core.geometry
Class RasterizedGeometry2DImpl.ScanCallbackImpl
- java.lang.Object
-
- com.esri.core.geometry.RasterizedGeometry2DImpl.ScanCallbackImpl
-
- All Implemented Interfaces:
SimpleRasterizer.ScanCallback
- Enclosing class:
- RasterizedGeometry2DImpl
class RasterizedGeometry2DImpl.ScanCallbackImpl extends java.lang.Object implements SimpleRasterizer.ScanCallback
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]
m_bitmap
(package private) int
m_color
(package private) int
m_scanlineWidth
-
Constructor Summary
Constructors Constructor Description ScanCallbackImpl(int[] bitmap, int scanlineWidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawScan(int[] scans, int scanCount3)
Rasterizer calls this method for each scan it producedlong
estimateMemorySize()
Returns an estimate of this object size in bytes.void
setColor(SimpleRasterizer rasterizer, int color)
-
-
-
Method Detail
-
setColor
public void setColor(SimpleRasterizer rasterizer, int color)
-
drawScan
public void drawScan(int[] scans, int scanCount3)
Description copied from interface:SimpleRasterizer.ScanCallback
Rasterizer calls this method for each scan it produced- Specified by:
drawScan
in interfaceSimpleRasterizer.ScanCallback
- Parameters:
scans
- array of scans. Scans are triplets of numbers. The start X coordinate for the scan (inclusive), the end X coordinate of the scan (exclusive), the Y coordinate for the scan.scanCount3
- The number of initialized elements in the scans array. The scan count is scanCount3 / 3.
-
estimateMemorySize
public long estimateMemorySize()
Returns an estimate of this object size in bytes.- Returns:
- Returns an estimate of this object size in bytes.
-
-