Package com.adobe.fontengine.font
Interface BitmapConsumer
-
- All Known Implementing Classes:
BitmapConsumerBaseImpl
public interface BitmapConsumer
Receives events for bitmaps. This interface is experimental and will likely change significantly. A BitmapConsumer can receive multiple bitmaps. The calls to this interface must follow the pattern (startBitmap (addRun)* endBitmap)*.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRun(double xOn, double xOff, double y)
Add a run of black pixels to the bitmap.void
endBitmap()
End of a bitmap.void
startBitmap(int n)
Called at the beginning of a bitmap.
-
-
-
Method Detail
-
startBitmap
void startBitmap(int n)
Called at the beginning of a bitmap.- Parameters:
n
- some identifier for the bitmap. The meaning of that identifier is not defined by this interface, but that the contract between the client and the provider of this interface.
-
addRun
void addRun(double xOn, double xOff, double y)
Add a run of black pixels to the bitmap.
-
endBitmap
void endBitmap()
End of a bitmap.
-
-