Package com.adobe.fontengine.font
Class BitmapConsumerBaseImpl
java.lang.Object
com.adobe.fontengine.font.BitmapConsumerBaseImpl
- All Implemented Interfaces:
BitmapConsumer
An implementation of BitmapConsumer that does nothing.
This is meant to be used as a base class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRun(double xOn, double xOff, double y) Add a run of black pixels to the bitmap.voidEnd of a bitmap.voidstartBitmap(int n) Called at the beginning of a bitmap.
-
Constructor Details
-
BitmapConsumerBaseImpl
public BitmapConsumerBaseImpl()
-
-
Method Details
-
startBitmap
public void startBitmap(int n) Description copied from interface:BitmapConsumerCalled at the beginning of a bitmap.- Specified by:
startBitmapin interfaceBitmapConsumer- 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
public void addRun(double xOn, double xOff, double y) Add a run of black pixels to the bitmap.- Specified by:
addRunin interfaceBitmapConsumer
-
endBitmap
public void endBitmap()End of a bitmap.- Specified by:
endBitmapin interfaceBitmapConsumer
-